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({
|
||||
text: intl.formatMessage(messages.members),
|
||||
to: `/group/${group?.slug}/members`,
|
||||
name: '/group/:groupSlug/members',
|
||||
count: pending.length,
|
||||
},
|
||||
{
|
||||
text: intl.formatMessage(messages.media),
|
||||
to: `/group/${group?.slug}/media`,
|
||||
name: '/group/:groupSlug/media',
|
||||
});
|
||||
items.push(
|
||||
{
|
||||
text: intl.formatMessage(messages.media),
|
||||
to: `/group/${group?.slug}/media`,
|
||||
name: '/group/:groupSlug/media',
|
||||
},
|
||||
{
|
||||
text: intl.formatMessage(messages.members),
|
||||
to: `/group/${group?.slug}/members`,
|
||||
name: '/group/:groupSlug/members',
|
||||
count: pending.length,
|
||||
},
|
||||
);
|
||||
|
||||
return items;
|
||||
}, [features.groupsTags, pending.length]);
|
||||
|
|
Loading…
Reference in a new issue