From 225c94afd2c355a33fbbb93871fb9b064da475b8 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sun, 12 Jul 2026 16:14:14 +0530 Subject: [PATCH] fix(theme): external link icon not showing in navbar links closes #5306 --- src/client/theme-default/components/VPLink.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/client/theme-default/components/VPLink.vue b/src/client/theme-default/components/VPLink.vue index f087a88c9..36977697f 100644 --- a/src/client/theme-default/components/VPLink.vue +++ b/src/client/theme-default/components/VPLink.vue @@ -2,14 +2,16 @@ import { computed } from 'vue' import { isLinkExternal, normalizeLink } from '../support/utils' -const props = defineProps<{ +const props = withDefaults(defineProps<{ tag?: string href?: string noIcon?: boolean external?: boolean target?: string rel?: string -}>() +}>(), { + external: undefined, +}) const tag = computed(() => props.tag ?? (props.href ? 'a' : 'span')) const isExternal = computed(() =>