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

Replay mutations fixed #864

Closed
wants to merge 4 commits into from
Closed

Replay mutations fixed #864

wants to merge 4 commits into from

Conversation

liana-p
Copy link

@liana-p liana-p commented Jan 19, 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.

@liana-p liana-p closed this Jan 22, 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
1 participant