diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-02-07 12:16:41 -0500 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-02-07 12:16:41 -0500 |
| commit | 105f8be9f5d9a411f3ab90828238f8ab00fac09a (patch) | |
| tree | 41b092522876d4ac15b640bf0bb067666fa26a55 /packages/frontend/src/components/SkNoteHeader.vue | |
| parent | allow environment override for `fulltextSearch.provider` property (diff) | |
| download | sharkey-105f8be9f5d9a411f3ab90828238f8ab00fac09a.tar.gz sharkey-105f8be9f5d9a411f3ab90828238f8ab00fac09a.tar.bz2 sharkey-105f8be9f5d9a411f3ab90828238f8ab00fac09a.zip | |
copy changes from MkInstanceTicker to SkInstanceTicker
Diffstat (limited to 'packages/frontend/src/components/SkNoteHeader.vue')
| -rw-r--r-- | packages/frontend/src/components/SkNoteHeader.vue | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/frontend/src/components/SkNoteHeader.vue b/packages/frontend/src/components/SkNoteHeader.vue index 6bcc30f6cb..cb50e57132 100644 --- a/packages/frontend/src/components/SkNoteHeader.vue +++ b/packages/frontend/src/components/SkNoteHeader.vue @@ -37,7 +37,9 @@ SPDX-License-Identifier: AGPL-3.0-only <span v-if="note.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ph-rocket ph-bold ph-lg"></i></span> <span v-if="note.channel" style="margin-left: 0.5em;" :title="note.channel.name"><i class="ph-television ph-bold ph-lg"></i></span> </div> - <div :class="$style.info"><SkInstanceTicker v-if="showTicker" style="cursor: pointer;" :instance="note.user.instance" @click.stop="showOnRemote()"/></div> + <div :class="$style.info"> + <SkInstanceTicker v-if="showTicker" style="cursor: pointer;" :instance="note.user.instance" :host="note.user.host" @click.stop="showOnRemote()"/> + </div> </div> </header> <header v-else :class="$style.classicRoot"> @@ -52,7 +54,7 @@ SPDX-License-Identifier: AGPL-3.0-only <div v-if="note.user.badgeRoles" :class="$style.badgeRoles"> <img v-for="role in note.user.badgeRoles" :key="role.id" v-tooltip="role.name" :class="$style.badgeRole" :src="role.iconUrl"/> </div> - <SkInstanceTicker v-if="showTicker && !isMobile && defaultStore.state.showTickerOnReplies" style="cursor: pointer; max-height: 5px; top: 3px; position: relative; margin-top: 0px !important;" :instance="note.user.instance" @click.stop="showOnRemote()"/> + <SkInstanceTicker v-if="showTicker && !isMobile && defaultStore.state.showTickerOnReplies" style="cursor: pointer; max-height: 5px; top: 3px; position: relative; margin-top: 0px !important;" :instance="note.user.instance" :host="note.user.host" @click.stop="showOnRemote()"/> <div :class="$style.classicInfo"> <div v-if="mock"> <MkTime :time="note.createdAt" colored/> @@ -84,6 +86,7 @@ import { popupMenu } from '@/os.js'; import { defaultStore } from '@/store.js'; import { useRouter } from '@/router/supplier.js'; import { deviceKind } from '@/scripts/device-kind.js'; +import MkInstanceTicker from '@/components/MkInstanceTicker.vue'; const props = defineProps<{ note: Misskey.entities.Note; |