fix: abuse menu without actual selection shown

This commit is contained in:
anatawa12 2023-08-22 15:13:23 +09:00 committed by GitHub
parent f08babba65
commit 14d80b5398
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ export function getNoteMenu(props: {
}]
: []
),*/
...(appearNote.userId !== $i.id || (isRenote && props.note.userId !== $i.id) ? [
...(appearNote.userId !== $i.id ? [
null,
appearNote.userId !== $i.id ? getAbuseNoteMenu(appearNote, i18n.ts.reportAbuse) : undefined,
]