Commit cce61190 authored by Matija Obreza's avatar Matija Obreza
Browse files

Fix: Render default SysGroup link text if groupTag is missing

parent 4f1e2746
......@@ -96,7 +96,7 @@ export const AppResourceLink = ({ appresource }: { appresource: AppResource }):
export const SysGroupLink = ({ sysGroup }: { sysGroup: SysGroup }): JSX.Element => (
<Link to={ `/admin/sysgroup/${sysGroup.id}` }>
{ sysGroup.groupTag }
{ sysGroup.groupTag || sysGroup.id || '??' }
</Link>
);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment