cleanup for show-note-on-original-instance fixes

This commit is contained in:
bunnybeam 2025-10-26 11:44:21 +00:00
parent 7c92c2215d
commit 3c3a7b6cbb
No known key found for this signature in database
5 changed files with 11 additions and 11 deletions

View file

@ -79,7 +79,7 @@ Detailed view of a note in the Sharkey style. Used when opening a note onto its
<span v-if="appearNote.updatedAt" ref="menuVersionsButton" style="margin-left: 0.5em;" title="Edited" @mousedown="menuVersions()"><i class="ph-pencil-simple ph-bold ph-lg"></i></span>
<span v-if="appearNote.localOnly" style="margin-left: 0.5em;" :title="i18n.ts._visibility['disableFederation']"><i class="ti ti-rocket-off"></i></span>
</div>
<SkInstanceTicker v-if="showTicker" style="cursor: pointer;" :host="appearNote.user.host" :instance="appearNote.user.instance" @click.stop="showOnRemote(props.note)"/>
<SkInstanceTicker v-if="showTicker" style="cursor: pointer;" :host="appearNote.user.host" :instance="appearNote.user.instance" @click.stop="showNoteOnOriginalInstance(appearNote)"/>
</div>
</div>
</header>
@ -290,7 +290,7 @@ import SkNoteTranslation from '@/components/SkNoteTranslation.vue';
import { getSelfNoteIds } from '@/utility/get-self-note-ids.js';
import SkUrlPreviewGroup from '@/components/SkUrlPreviewGroup.vue';
import MkNoteSub from '@/components/MkNoteSub.vue';
import { showOnRemote } from '@/utility/show-on-remote.js';
import { showNoteOnOriginalInstance } from '@/utility/show-note-on-original-instance.js';
const props = withDefaults(defineProps<{
note: Misskey.entities.Note;