diff --git a/frontend/src/components/ProfileView.vue b/frontend/src/components/ProfileView.vue index f4149e0..af36883 100644 --- a/frontend/src/components/ProfileView.vue +++ b/frontend/src/components/ProfileView.vue @@ -201,13 +201,13 @@ const userInfoSection = ref(null) const hasActiveModal = computed(() => showNameDialog.value || showEmailDialog.value || showPreferredUsernameDialog.value || showRegLink.value) watch(showNameDialog, (newVal) => { if (newVal) newName.value = authStore.userInfo?.ctx.user.display_name ?? '' }) -watch(showEmailDialog, (newVal) => { +watch(showEmailDialog, (newVal) => { if (newVal) { newEmail.value = authStore.userInfo?.ctx.user.email ?? '' emailError.value = '' } }) -watch(showPreferredUsernameDialog, (newVal) => { +watch(showPreferredUsernameDialog, (newVal) => { if (newVal) { newPreferredUsername.value = authStore.userInfo?.ctx.user.preferred_username ?? '' preferredUsernameError.value = '' diff --git a/frontend/src/components/SessionList.vue b/frontend/src/components/SessionList.vue index feeae17..09c6922 100644 --- a/frontend/src/components/SessionList.vue +++ b/frontend/src/components/SessionList.vue @@ -7,10 +7,11 @@