mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix: reactive statement to let subNavigation disappear accordingly
This commit is contained in:
@@ -109,7 +109,7 @@
|
||||
};
|
||||
|
||||
let showAccountMenu = false;
|
||||
let subNavigation: undefined | ComponentType = $page.data.subNavigation;
|
||||
$: subNavigation = $page.data.subNavigation;
|
||||
let state: undefined | 'open' | 'closed' | 'icons' = 'closed';
|
||||
$: state = $isSidebarOpen ? 'open' : 'closed';
|
||||
|
||||
|
||||
+3
-2
@@ -18,10 +18,11 @@
|
||||
a.$updatedAt > b.$updatedAt ? -1 : 1
|
||||
);
|
||||
|
||||
$: selectedCollection = sortedCollections.find((collection) => collection.$id === collectionId);
|
||||
$: selectedCollection = sortedCollections?.find(
|
||||
(collection) => collection.$id === collectionId
|
||||
);
|
||||
|
||||
let openBottomSheet = false;
|
||||
console.log('isTabletViewport', $isTabletViewport);
|
||||
</script>
|
||||
|
||||
{#if !$isTabletViewport}
|
||||
|
||||
Reference in New Issue
Block a user