mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
prevent subscription ovveride
This commit is contained in:
1 parent
e9cb44cda5
commit
7c7ba1f137
2 files changed
+8
-3
No files matched your search
@@ -123,7 +123,12 @@
|
||||
});
|
||||
|
||||
// subscriptions
|
||||
isNewWizardStatusOpen.subscribe((value) => (showHeader = !value));
|
||||
let initialShowHeader = showHeader;
|
||||
isNewWizardStatusOpen.subscribe((value) => {
|
||||
if (initialShowHeader) {
|
||||
showHeader = !value;
|
||||
}
|
||||
});
|
||||
|
||||
page.subscribe(({ url }) => {
|
||||
$showSubNavigation = url.searchParams.get('openNavbar') === 'true';
|
||||
|
||||
@@ -339,8 +339,8 @@
|
||||
!page.url.pathname.includes('/console/account') &&
|
||||
!page.url.pathname.includes('/console/card') &&
|
||||
!page.url.pathname.includes('/console/onboarding')}
|
||||
showHeader={!page.url.pathname.includes('/console/onboarding/create-project')}
|
||||
showFooter={!page.url.pathname.includes('/console/onboarding/create-project')}
|
||||
showHeader={!page.url.pathname.includes('/console/onboarding')}
|
||||
showFooter={!page.url.pathname.includes('/console/onboarding')}
|
||||
selectedProject={page.data?.project}>
|
||||
<!-- <Header slot="header" />-->
|
||||
<slot />
|
||||
|
||||
Reference in new issue
Block a user