mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
413 B
20 lines
413 B
1 year ago
|
import { defineStore } from 'pinia'
|
||
|
|
||
|
export const useSidebarStore = defineStore('sidebarStore', () => {
|
||
|
const isLeftSidebarOpen = ref(true)
|
||
|
const isRightSidebarOpen = ref(true)
|
||
|
const leftSidebarWidthPercent = ref(20)
|
||
|
|
||
|
const rightSidebarSize = ref({
|
||
|
old: 17.5,
|
||
|
current: 17.5,
|
||
|
})
|
||
|
|
||
|
return {
|
||
|
isLeftSidebarOpen,
|
||
|
isRightSidebarOpen,
|
||
|
rightSidebarSize,
|
||
|
leftSidebarWidthPercent,
|
||
|
}
|
||
|
})
|