1
0

Solve for resize()

This commit is contained in:
David Angel
2023-01-25 23:23:37 -05:00
committed by Dominik Pschenitschni
parent aa01a92278
commit 3604cb3ec7
2 changed files with 6 additions and 1 deletions

View File

@ -208,7 +208,7 @@ const listStore = useListStore()
function resize() {
// Hide the menu by default on mobile
baseStore.setMenuActive(window.innerWidth >= 770)
baseStore.menuActive && baseStore.setMenuActive(window.innerWidth >= 770)
}
function toggleLists(namespaceId: INamespace['id']) {