Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GGCE
GGCE Web
Commits
cce61190
Commit
cce61190
authored
Apr 08, 2021
by
Matija Obreza
Browse files
Fix: Render default SysGroup link text if groupTag is missing
parent
4f1e2746
Changes
1
Hide whitespace changes
Inline
Side-by-side
workspaces/ui-express/src/ui/common/Links.tsx
View file @
cce61190
...
...
@@ -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
>
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment