diff --git a/app/components/chat/CommandPalette.vue b/app/components/chat/CommandPalette.vue index 8905d64..0344c62 100644 --- a/app/components/chat/CommandPalette.vue +++ b/app/components/chat/CommandPalette.vue @@ -80,6 +80,11 @@ function goHome() { clearMessages() router.push('/') } + +const route = useRoute() +function isRoute(name: string): boolean { + return route.path.includes(name) && route.name !== '/' +}