Merge branch 'fix-reporting-modal' into 'develop'

Fix reporting modal

See merge request soapbox-pub/soapbox!2466
This commit is contained in:
Chewbacca 2023-04-24 16:19:55 +00:00
commit 81bf8649b4
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@ const GroupOptionsButton = ({ group }: IGroupActionButton) => {
const menu: Menu = useMemo(() => {
const items = [];
if (isMember) {
if (isMember || isAdmin) {
items.push({
text: intl.formatMessage(messages.report),
icon: require('@tabler/icons/flag.svg'),

View file

@ -54,8 +54,8 @@ const reportSteps = {
},
[ReportableEntities.GROUP]: {
ONE: ReasonStep,
TWO: ConfirmationStep,
THREE: null,
TWO: null,
THREE: ConfirmationStep,
},
};