diff --git a/src/components/Editor/GuestNameDialog.vue b/src/components/Editor/GuestNameDialog.vue index e7856668cec..ccbc77488b0 100644 --- a/src/components/Editor/GuestNameDialog.vue +++ b/src/components/Editor/GuestNameDialog.vue @@ -72,12 +72,12 @@ export default { }, }, beforeMount() { - this.guestName = this.$syncService.session.guestName + this.guestName = this.$syncService.connection.session.guestName this.updateBufferedGuestName() }, methods: { setGuestName() { - const previousGuestName = this.$syncService.session.guestName + const previousGuestName = this.$syncService.connection.session.guestName this.$syncService.updateSession(this.guestName).then(() => { localStorage.setItem('nick', this.guestName) this.updateBufferedGuestName() diff --git a/src/components/Editor/SessionList.vue b/src/components/Editor/SessionList.vue index 83431692cfa..d7102672da6 100644 --- a/src/components/Editor/SessionList.vue +++ b/src/components/Editor/SessionList.vue @@ -108,7 +108,7 @@ export default { }, }, participantsPopover() { - if (this.currentSession.guestName) { + if (this.currentSession?.guestName) { return this.participantsWithoutCurrent } return this.participants diff --git a/src/components/Editor/Status.vue b/src/components/Editor/Status.vue index 878103a724c..0f85e74177d 100644 --- a/src/components/Editor/Status.vue +++ b/src/components/Editor/Status.vue @@ -36,7 +36,7 @@
{{ t('text', 'Last saved') }}: {{ lastSavedString }}
-