1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-04 16:35:56 +02:00
This commit is contained in:
syuilo
2025-08-26 08:50:34 +09:00
parent 0c8545ec1c
commit 506c8a259b
8 changed files with 26 additions and 22 deletions

View File

@@ -179,7 +179,7 @@ export function getNoteMenu(props: {
translating: Ref<boolean>;
currentClip?: Misskey.entities.Clip;
}) {
const appearNote = getAppearNote(props.note);
const appearNote = getAppearNote(props.note) ?? props.note;
const link = appearNote.url ?? appearNote.uri;
const cleanups = [] as (() => void)[];
@@ -554,7 +554,7 @@ export function getRenoteMenu(props: {
renoteButton: ShallowRef<HTMLElement | null | undefined>;
mock?: boolean;
}) {
const appearNote = getAppearNote(props.note);
const appearNote = getAppearNote(props.note) ?? props.note;
const channelRenoteItems: MenuItem[] = [];
const normalRenoteItems: MenuItem[] = [];