mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
docs(app): add target _blank only on external links
This commit is contained in:
@@ -122,7 +122,7 @@ const communityLinks = computed(() => [{
|
||||
:key="link.label"
|
||||
color="neutral"
|
||||
variant="outline"
|
||||
target="_blank"
|
||||
:target="link.to.startsWith('http') ? '_blank' : undefined"
|
||||
v-bind="link"
|
||||
>
|
||||
<template v-if="link.avatar" #leading>
|
||||
|
||||
Reference in New Issue
Block a user