fix: moved sirebar settings to settings store

This commit is contained in:
Jannat Patel
2025-07-01 17:38:15 +05:30
parent 94cbbf169a
commit e526a6fd64
4 changed files with 12 additions and 9 deletions

View File

@@ -58,11 +58,13 @@ import { getSidebarLinks } from '@/utils'
import { useRouter } from 'vue-router'
import { watch, ref, onMounted } from 'vue'
import { sessionStore } from '@/stores/session'
import { useSettings } from '@/stores/settings'
import { usersStore } from '@/stores/user'
import * as icons from 'lucide-vue-next'
const { logout, user, sidebarSettings } = sessionStore()
const { logout, user } = sessionStore()
let { isLoggedIn } = sessionStore()
const { sidebarSettings } = useSettings()
const router = useRouter()
let { userResource } = usersStore()
const sidebarLinks = ref(getSidebarLinks())