fix: tests and usage.

This commit is contained in:
Darshan
2024-12-14 11:48:55 +05:30
parent 0b50b58120
commit e4f03e7ff0
2 changed files with 4 additions and 7 deletions
+3 -4
View File
@@ -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>
+1 -3
View File
@@ -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>