Skip to content

Commit

Permalink
fix: abuse menu without actual selection shown
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 authored Aug 22, 2023
1 parent f08babb commit 14d80b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/scripts/get-note-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]
Expand Down

0 comments on commit 14d80b5

Please sign in to comment.