You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When changing a document the user might want to go back to the previous state or cancel the changes. In this case the original document that hasnt been modified should be reloaded.
Problems
How to store the old version to discard and select from the new version
Currently the store is updated on the fly. One of the reasons to do this is because the use might change documents without saving. The approach is to not allow users to change docs unless they save. The behavior in this case would be similar to open and closing documents.
Solution
On cancel pull back content from the vuex store
The text was updated successfully, but these errors were encountered:
Story
When changing a document the user might want to go back to the previous state or cancel the changes. In this case the original document that hasnt been modified should be reloaded.
Problems
How to store the old version to discard and select from the new version
Currently the store is updated on the fly. One of the reasons to do this is because the use might change documents without saving. The approach is to not allow users to change docs unless they save. The behavior in this case would be similar to open and closing documents.
Solution
On cancel pull back content from the vuex store
The text was updated successfully, but these errors were encountered: