Article content is one step behind #1
Label
Kein Label
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Nachrichten
Fällig am
Kein Fälligkeitsdatum gesetzt.
Abhängigkeiten
Keine Abhängigkeiten gesetzt.
Referenz: theolem/md-parser#1
Laden…
In neuem Issue referenzieren
Keine Beschreibung angegeben.
Branch "%!s(<nil>)" löschen
Das Löschen eines Branches ist permanent. Obwohl der Branch für eine kurze Zeit weiter existieren könnte, kann diese Aktion in den meisten Fällen NICHT rückgängig gemacht werden. Fortfahren?
#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
UserInput
component 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 :
EditPage
componentUserInputPage
component is loaded, with the unmutated stateSolution :
await
the mutation before callingrouter.push()