diff options
Diffstat (limited to 'src/components/EditorWrapper.vue')
-rw-r--r-- | src/components/EditorWrapper.vue | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/EditorWrapper.vue b/src/components/EditorWrapper.vue index a19e29b7e..5ba0b93c4 100644 --- a/src/components/EditorWrapper.vue +++ b/src/components/EditorWrapper.vue @@ -296,6 +296,7 @@ export default { this.document = document this.readOnly = document.readOnly localStorage.setItem('nick', this.currentSession.guestName) + this.$store.dispatch('setCurrentSession', this.currentSession) }) .on('change', ({ document, sessions }) => { if (this.document.baseVersionEtag !== '' && document.baseVersionEtag !== this.document.baseVersionEtag) { |