Switch order of Group Page tabs
This commit is contained in:
parent
db91a00aca
commit
9b011275b8
1 changed files with 13 additions and 11 deletions
|
@ -123,17 +123,19 @@ const GroupPage: React.FC<IGroupPage> = ({ params, children }) => {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
items.push({
|
items.push(
|
||||||
text: intl.formatMessage(messages.members),
|
{
|
||||||
to: `/group/${group?.slug}/members`,
|
text: intl.formatMessage(messages.media),
|
||||||
name: '/group/:groupSlug/members',
|
to: `/group/${group?.slug}/media`,
|
||||||
count: pending.length,
|
name: '/group/:groupSlug/media',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: intl.formatMessage(messages.media),
|
text: intl.formatMessage(messages.members),
|
||||||
to: `/group/${group?.slug}/media`,
|
to: `/group/${group?.slug}/members`,
|
||||||
name: '/group/:groupSlug/media',
|
name: '/group/:groupSlug/members',
|
||||||
});
|
count: pending.length,
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
return items;
|
return items;
|
||||||
}, [features.groupsTags, pending.length]);
|
}, [features.groupsTags, pending.length]);
|
||||||
|
|
Loading…
Reference in a new issue