Skip to content

Commit

Permalink
add role id for finance column (#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
novaknole authored Jul 27, 2021
1 parent 1908e7a commit e125964
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/apps/Permissions/PermissionsView.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,12 @@ function renderEntry({ entities, app, role, manager }, showApps) {
${textStyle('body2')}
`}
>
{role.name}
{role.name ||
role.id
?.toLowerCase()
.split('_')
.slice(0, -1)
.join(' ')}
</span>,
<LocalLabelAppBadge app={app} apps={[]} noIdentifier />,
<EntryEntities entities={entities} />,
Expand Down

0 comments on commit e125964

Please sign in to comment.