From 39276736da1b6205fde905444dd0d29429cfe9ce Mon Sep 17 00:00:00 2001 From: Lightling Date: Wed, 10 Apr 2024 18:22:21 -0400 Subject: [PATCH] allow external links in header --- src/components/shared/header-link.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/shared/header-link.vue b/src/components/shared/header-link.vue index 1ef8302..db7b375 100644 --- a/src/components/shared/header-link.vue +++ b/src/components/shared/header-link.vue @@ -9,6 +9,7 @@ const props = defineProps<{ const routeStore = useRouteStore() const name = computed(() => !!(props.entry as any).path ? routeStore._routes[(props.entry as any).path].name : null) +const sameSite = (props.entry as any).path?.startsWith('/')