fix: in mobile view if base list open and user navigated to any view then hide baselist and show home page

This commit is contained in:
Ramesh Mane
2026-01-30 11:11:59 +00:00
parent 02bde3233b
commit 530c0f0b83

View File

@@ -3,9 +3,15 @@ const { isLeftSidebarOpen } = storeToRefs(useSidebarStore())
const { isMobileMode } = useGlobal()
const { showProjectList } = storeToRefs(useBases())
const onClick = () => {
if (isLeftSidebarOpen.value) return
if (isMobileMode.value && showProjectList.value) {
showProjectList.value = false
}
isLeftSidebarOpen.value = !isLeftSidebarOpen.value
}
</script>