diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2024-05-06 20:37:04 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2024-05-06 20:37:04 +0900 |
| commit | fc77ad9355f74ec4b4b155a9d5624850b3dff351 (patch) | |
| tree | 2823debf720a2755c538ec72153b0223c9fc3338 /packages/frontend/src/components/MkMention.vue | |
| parent | update deps (#13624) (diff) | |
| download | misskey-fc77ad9355f74ec4b4b155a9d5624850b3dff351.tar.gz misskey-fc77ad9355f74ec4b4b155a9d5624850b3dff351.tar.bz2 misskey-fc77ad9355f74ec4b4b155a9d5624850b3dff351.zip | |
refactor(frontend): provide linkNavigationBehavior
Diffstat (limited to 'packages/frontend/src/components/MkMention.vue')
| -rw-r--r-- | packages/frontend/src/components/MkMention.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/components/MkMention.vue b/packages/frontend/src/components/MkMention.vue index cbefecf03a..bfb49a416e 100644 --- a/packages/frontend/src/components/MkMention.vue +++ b/packages/frontend/src/components/MkMention.vue @@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only --> <template> -<MkA v-user-preview="canonical" :class="[$style.root, { [$style.isMe]: isMe }]" :to="url" :style="{ background: bgCss }" :behavior="behavior"> +<MkA v-user-preview="canonical" :class="[$style.root, { [$style.isMe]: isMe }]" :to="url" :style="{ background: bgCss }" :behavior="navigationBehavior"> <img :class="$style.icon" :src="avatarUrl" alt=""> <span> <span>@{{ username }}</span> @@ -26,7 +26,7 @@ import { MkABehavior } from '@/components/global/MkA.vue'; const props = defineProps<{ username: string; host: string; - behavior?: MkABehavior; + navigationBehavior?: MkABehavior; }>(); const canonical = props.host === localHost ? `@${props.username}` : `@${props.username}@${toUnicode(props.host)}`; |