Skip to content

Fix mutations replay #866

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

Closed
wants to merge 3 commits into from
Closed

Fix mutations replay #866

wants to merge 3 commits into from

Conversation

liana-p
Copy link

@liana-p liana-p commented Jan 22, 2019

Not sure if this fix makes sense, as I don't know the rest of the code, but creating a PR just in case.

Fixes #792. Also related to #757: The replay mutations makes Vue throw an error because it's not allowed to edit the store while not commiting. I added a line just before and after the mutations call to set store._committing to true, so it allows to commit.

@sp1ker
Copy link
Contributor

sp1ker commented Jan 22, 2019

#829

@Akryum
Copy link
Member

Akryum commented Jan 25, 2019

Fixed in 9305a51

@Akryum Akryum closed this Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Time travel passes state instead of payload
3 participants