summaryrefslogtreecommitdiff
path: root/packages/client
diff options
context:
space:
mode:
Diffstat (limited to 'packages/client')
-rw-r--r--packages/client/src/pages/settings/index.vue7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/client/src/pages/settings/index.vue b/packages/client/src/pages/settings/index.vue
index 752054e9b3..3106a2e5c6 100644
--- a/packages/client/src/pages/settings/index.vue
+++ b/packages/client/src/pages/settings/index.vue
@@ -278,8 +278,11 @@ onUnmounted(() => {
const emailNotConfigured = computed(() => instance.enableEmail && ($i.email == null || !$i.emailVerified));
const pageChanged = (page) => {
- if (page == null) return;
- childInfo.value = page[symbols.PAGE_INFO];
+ if (page == null) {
+ childInfo.value = null;
+ } else {
+ childInfo.value = page[symbols.PAGE_INFO];
+ }
};
defineExpose({