mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: tests and usage.
This commit is contained in:
@@ -15,8 +15,7 @@
|
||||
import { showSupportModal } from '$routes/(console)/wizard/support/store';
|
||||
import { getContext } from 'svelte';
|
||||
import type { Writable } from 'svelte/store';
|
||||
|
||||
export let isOpen = false;
|
||||
import { showSubNavigation } from '$lib/stores/layout';
|
||||
|
||||
$: project = $page.params.project;
|
||||
$: projectPath = `${base}/project-${project}`;
|
||||
@@ -44,12 +43,12 @@
|
||||
}
|
||||
|
||||
function openFeedback() {
|
||||
isOpen = false;
|
||||
$showSubNavigation = false;
|
||||
wizard.start(Create);
|
||||
}
|
||||
|
||||
function openSupport() {
|
||||
isOpen = false;
|
||||
$showSubNavigation = false;
|
||||
$showSupportModal = true;
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -238,7 +238,6 @@
|
||||
rank: -1
|
||||
}
|
||||
]);
|
||||
let isOpen = false;
|
||||
onMount(async () => {
|
||||
loading.set(false);
|
||||
if (!localStorage.getItem('feedbackElapsed')) {
|
||||
@@ -319,14 +318,13 @@
|
||||
<CommandCenter />
|
||||
|
||||
<Shell
|
||||
bind:isOpen
|
||||
showSideNavigation={$page.url.pathname !== '/console' &&
|
||||
!$page?.params.organization &&
|
||||
!$page.url.pathname.includes('/console/account') &&
|
||||
!$page.url.pathname.includes('/console/card') &&
|
||||
!$page.url.pathname.includes('/console/onboarding')}>
|
||||
<Header slot="header" />
|
||||
<SideNavigation slot="side" bind:isOpen />
|
||||
<SideNavigation slot="side" />
|
||||
<slot />
|
||||
<Footer slot="footer" />
|
||||
</Shell>
|
||||
|
||||
Reference in New Issue
Block a user