mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
Fix rel attribute of external links (#8642)
This commit is contained in:
committed by
GitHub
parent
fc87c0b662
commit
fe1ae5c5db
@@ -3,7 +3,6 @@
|
||||
<slot name="prepend-outer" />
|
||||
<component
|
||||
:is="component"
|
||||
:ref="component === 'a' ? 'noopener noreferer' : undefined"
|
||||
v-focus="autofocus"
|
||||
:download="download"
|
||||
class="button"
|
||||
@@ -27,6 +26,7 @@
|
||||
:to="to !== '' ? to : undefined"
|
||||
:href="href"
|
||||
:target="component === 'a' ? '_blank' : undefined"
|
||||
:rel="component === 'a' ? 'noopener noreferrer' : undefined"
|
||||
@click="onClick"
|
||||
>
|
||||
<span class="content" :class="{ invisible: loading }">
|
||||
|
||||
Reference in New Issue
Block a user