mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 06:18:40 +09:00
fix(frontend): 引用RNの判定の条件が不完全だった問題を修正 (MisskeyIO#806)
This commit is contained in:
parent
6a697785dc
commit
9782370e86
@ -36,8 +36,10 @@ export async function getNoteClipMenu(props: {
|
||||
|
||||
const isRenote = (
|
||||
props.note.renote != null &&
|
||||
props.note.reply == null &&
|
||||
props.note.text == null &&
|
||||
props.note.fileIds.length === 0 &&
|
||||
props.note.cw == null &&
|
||||
props.note.fileIds && props.note.fileIds.length === 0 &&
|
||||
props.note.poll == null
|
||||
);
|
||||
|
||||
@ -164,8 +166,10 @@ export function getNoteMenu(props: {
|
||||
}) {
|
||||
const isRenote = (
|
||||
props.note.renote != null &&
|
||||
props.note.reply == null &&
|
||||
props.note.text == null &&
|
||||
props.note.fileIds.length === 0 &&
|
||||
props.note.cw == null &&
|
||||
props.note.fileIds && props.note.fileIds.length === 0 &&
|
||||
props.note.poll == null
|
||||
);
|
||||
|
||||
@ -509,8 +513,10 @@ export function getRenoteMenu(props: {
|
||||
}) {
|
||||
const isRenote = (
|
||||
props.note.renote != null &&
|
||||
props.note.reply == null &&
|
||||
props.note.text == null &&
|
||||
props.note.fileIds.length === 0 &&
|
||||
props.note.cw == null &&
|
||||
props.note.fileIds && props.note.fileIds.length === 0 &&
|
||||
props.note.poll == null
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user