mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-15 20:06:54 +01:00
Merge branch 'fix-setting-page' into preferences-registry
This commit is contained in:
commit
911d8e9916
1 changed files with 5 additions and 2 deletions
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue