Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"options.state" isn't reflected to history.state #1857

Closed
tanagumo opened this issue May 24, 2017 · 1 comment · Fixed by #1889
Closed

"options.state" isn't reflected to history.state #1857

tanagumo opened this issue May 24, 2017 · 1 comment · Fixed by #1889
Labels
Type: Bug For bugs and any other unexpected breakage

Comments

@tanagumo
Copy link

Calling m.route.set with options.state within onmatch hook of a RouteResolver, options.state isn't reflected to history.state.

Is it a bug?

@pygy pygy added the Type: Bug For bugs and any other unexpected breakage label May 24, 2017
@pygy
Copy link
Member

pygy commented May 24, 2017

It is:

if (lastUpdate != null) options = {replace: true}
, thanks for the report

@tanagumo tanagumo changed the title "opitons.state" isn't reflected to history.state "options.state" isn't reflected to history.state May 24, 2017
pygy added a commit to pygy/mithril.js that referenced this issue Jul 5, 2017
@pygy pygy closed this as completed in #1889 Jul 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug For bugs and any other unexpected breakage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants