mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Fix persistence of sub navigation
This commit is contained in:
@@ -72,7 +72,7 @@
|
||||
|
||||
let sideBarIsOpen = false;
|
||||
let showAccountMenu = false;
|
||||
let subNavigation: undefined | ComponentType = undefined;
|
||||
let subNavigation: undefined | ComponentType = $page.data.subNavigation;
|
||||
let state: undefined | 'open' | 'closed' | 'icons' = 'closed';
|
||||
$: state = sideBarIsOpen ? 'open' : 'closed';
|
||||
$: state = subNavigation && !$isSmallViewport ? 'icons' : sideBarIsOpen ? 'open' : 'closed';
|
||||
|
||||
Reference in New Issue
Block a user