File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,14 @@ const route = useRoute()
54
54
const { t } = useI18n ()
55
55
const emit = defineEmits ([' createView' , ' editView' , ' deleteView' , ' createConversation' ])
56
56
57
+ const isActiveParent = (parentHref ) => {
58
+ return route .path .startsWith (parentHref)
59
+ }
60
+
61
+ const isInboxRoute = (path ) => {
62
+ return path .startsWith (' /inboxes' )
63
+ }
64
+
57
65
const openCreateViewDialog = () => {
58
66
emit (' createView' )
59
67
}
@@ -94,14 +102,6 @@ watch(
94
102
const sidebarOpen = useStorage (' mainSidebarOpen' , true )
95
103
const teamInboxOpen = useStorage (' teamInboxOpen' , true )
96
104
const viewInboxOpen = useStorage (' viewInboxOpen' , true )
97
-
98
- const isActiveParent = (parentHref ) => {
99
- return route .path .startsWith (parentHref)
100
- }
101
-
102
- const isInboxRoute = (path ) => {
103
- return path .startsWith (' /inboxes' )
104
- }
105
105
</script >
106
106
107
107
<template >
You can’t perform that action at this time.
0 commit comments