mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-29 14:16:46 +00:00
feat(nc-gui): store sidebar states separately by id
# What's changed? * use a sidebar id to identify the state * use in memory storage to store the states * use local storage to store persistent states * add MemStorage class
This commit is contained in:
@@ -4,7 +4,7 @@ import { computed, useGlobal, useProject, useRoute, useSidebar } from '#imports'
|
||||
|
||||
const { signOut, signedIn, user } = useGlobal()
|
||||
|
||||
const { isOpen } = useSidebar({ isOpen: true })
|
||||
const { isOpen } = useSidebar('nc-mini-sidebar', { isOpen: true })
|
||||
|
||||
const { project } = useProject()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user