Merge branch 'fix-setting-page' into preferences-registry

This commit is contained in:
tamaina 2022-04-17 05:25:24 +09:00
commit 911d8e9916
1 changed files with 5 additions and 2 deletions

View File

@ -278,8 +278,11 @@ onUnmounted(() => {
const emailNotConfigured = computed(() => instance.enableEmail && ($i.email == null || !$i.emailVerified)); const emailNotConfigured = computed(() => instance.enableEmail && ($i.email == null || !$i.emailVerified));
const pageChanged = (page) => { const pageChanged = (page) => {
if (page == null) return; if (page == null) {
childInfo.value = page[symbols.PAGE_INFO]; childInfo.value = null;
} else {
childInfo.value = page[symbols.PAGE_INFO];
}
}; };
defineExpose({ defineExpose({