Groups fixes

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-06-23 19:29:18 +02:00
parent b03256b53b
commit e82b9bc579
18 changed files with 29 additions and 29 deletions

View File

@ -30,7 +30,7 @@ const GroupPopover = (props: IGroupPopoverContainer) => {
const path = history.location.pathname;
const shouldHideAction = matchPath(path, {
path: ['/group/:groupId'],
path: ['/groups/:groupId'],
exact: true,
});
@ -88,7 +88,7 @@ const GroupPopover = (props: IGroupPopoverContainer) => {
{!shouldHideAction && (
<div className='px-4'>
<Link to={`/group/${group.id}`}>
<Link to={`/groups/${group.id}`}>
<Button type='button' theme='secondary' block>
{intl.formatMessage(messages.action)}
</Button>