mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 13:17:57 +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"
|
:key="link.label"
|
||||||
color="neutral"
|
color="neutral"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
target="_blank"
|
:target="link.to.startsWith('http') ? '_blank' : undefined"
|
||||||
v-bind="link"
|
v-bind="link"
|
||||||
>
|
>
|
||||||
<template v-if="link.avatar" #leading>
|
<template v-if="link.avatar" #leading>
|
||||||
|
|||||||
Reference in New Issue
Block a user