Article content is one step behind #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
#What's expected to happen
When clicking on "Edit" for an article, the meta AND content should be the ones fetched from the API.
#What happens
The article content in the
UserInputcomponent is the one from one step behind, suggesting that the Vuex state is not updated properly.Possible explanation : the component is mounted before the Vuex mutation.
Hence the following behavior :
EditPagecomponentUserInputPagecomponent is loaded, with the unmutated stateSolution :
awaitthe mutation before callingrouter.push()