Skip to content

Commit

Permalink
fix: ui issue in user list page
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Nov 17, 2024
1 parent ca92c27 commit fa2088a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/views/role/list/useRoleList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,10 @@ const useRoleList = () => {
label: t('views.roles.table.columns.users'),
icon: ['fa', 'users'],
value: (row: Role) => (
<ClNavLink path={`/roles/${row._id}/users`} label={row.users} />
<ClNavLink
path={`/roles/${row._id}/users`}
label={row.users || '0'}
/>
),
width: '120',
},
Expand All @@ -128,8 +131,6 @@ const useRoleList = () => {
label: t('views.roles.table.columns.description'),
icon: ['fa', 'font'],
width: 'auto',
hasFilter: true,
allowFilterItems: true,
},
{
key: TABLE_COLUMN_NAME_ACTIONS,
Expand Down

0 comments on commit fa2088a

Please sign in to comment.