diff options
Diffstat (limited to 'client/src/app/shared/shared-users/user-admin.service.ts')
-rw-r--r-- | client/src/app/shared/shared-users/user-admin.service.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-users/user-admin.service.ts b/client/src/app/shared/shared-users/user-admin.service.ts index 4128358dc..0b04023a3 100644 --- a/client/src/app/shared/shared-users/user-admin.service.ts +++ b/client/src/app/shared/shared-users/user-admin.service.ts | |||
@@ -125,7 +125,10 @@ export class UserAdminService { | |||
125 | } | 125 | } |
126 | 126 | ||
127 | return Object.assign(user, { | 127 | return Object.assign(user, { |
128 | roleLabel: roleLabels[user.role], | 128 | role: { |
129 | id: user.role.id, | ||
130 | label: roleLabels[user.role.id] | ||
131 | }, | ||
129 | videoQuota, | 132 | videoQuota, |
130 | videoQuotaUsed, | 133 | videoQuotaUsed, |
131 | rawVideoQuota: user.videoQuota, | 134 | rawVideoQuota: user.videoQuota, |