Update group URLs to use slugs
This commit is contained in:
@ -80,7 +80,7 @@ const GroupPopover = (props: IGroupPopoverContainer) => {
|
||||
</Stack>
|
||||
|
||||
<div className='px-4 pb-4'>
|
||||
<Link to={`/groups/${group.id}`}>
|
||||
<Link to={`/group/${group.slug}`}>
|
||||
<Button type='button' theme='secondary' block>
|
||||
{intl.formatMessage(messages.action)}
|
||||
</Button>
|
||||
|
||||
@ -253,7 +253,7 @@ const Status: React.FC<IStatus> = (props) => {
|
||||
return (
|
||||
<StatusInfo
|
||||
avatarSize={avatarSize}
|
||||
to={`/groups/${group.id}`}
|
||||
to={`/group/${group.slug}`}
|
||||
icon={<Icon src={require('@tabler/icons/circles.svg')} className='h-4 w-4 text-primary-600 dark:text-accent-blue' />}
|
||||
text={
|
||||
<Text size='xs' theme='muted' weight='medium'>
|
||||
|
||||
Reference in New Issue
Block a user