summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkLink.vue
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2024-05-06 20:37:04 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2024-05-06 20:37:04 +0900
commitfc77ad9355f74ec4b4b155a9d5624850b3dff351 (patch)
tree2823debf720a2755c538ec72153b0223c9fc3338 /packages/frontend/src/components/MkLink.vue
parentupdate deps (#13624) (diff)
downloadsharkey-fc77ad9355f74ec4b4b155a9d5624850b3dff351.tar.gz
sharkey-fc77ad9355f74ec4b4b155a9d5624850b3dff351.tar.bz2
sharkey-fc77ad9355f74ec4b4b155a9d5624850b3dff351.zip
refactor(frontend): provide linkNavigationBehavior
Diffstat (limited to 'packages/frontend/src/components/MkLink.vue')
-rw-r--r--packages/frontend/src/components/MkLink.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkLink.vue b/packages/frontend/src/components/MkLink.vue
index bd1bd0e24a..5d54a58e97 100644
--- a/packages/frontend/src/components/MkLink.vue
+++ b/packages/frontend/src/components/MkLink.vue
@@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<template>
<component
:is="self ? 'MkA' : 'a'" ref="el" style="word-break: break-all;" class="_link" :[attr]="self ? url.substring(local.length) : url" :rel="rel ?? 'nofollow noopener'" :target="target"
- :behavior="props.behavior"
+ :behavior="props.navigationBehavior"
:title="url"
>
<slot></slot>
@@ -25,7 +25,7 @@ import { MkABehavior } from '@/components/global/MkA.vue';
const props = withDefaults(defineProps<{
url: string;
rel?: null | string;
- behavior?: MkABehavior;
+ navigationBehavior?: MkABehavior;
}>(), {
});