diff --git a/packages/admin-ui/src/app/settings/components/role-list/role-list.component.html b/packages/admin-ui/src/app/settings/components/role-list/role-list.component.html index 37260c7321..2d367bc38d 100644 --- a/packages/admin-ui/src/app/settings/components/role-list/role-list.component.html +++ b/packages/admin-ui/src/app/settings/components/role-list/role-list.component.html @@ -28,13 +28,26 @@ - {{ channel.code }} + {{ channel.code | channelCodeToLabel | translate }} - {{ permission }} + {{ permission }} + {{ 'settings.default-role-label' | translate }} diff --git a/packages/admin-ui/src/app/settings/components/role-list/role-list.component.ts b/packages/admin-ui/src/app/settings/components/role-list/role-list.component.ts index 534438555f..ad8ef08dc1 100644 --- a/packages/admin-ui/src/app/settings/components/role-list/role-list.component.ts +++ b/packages/admin-ui/src/app/settings/components/role-list/role-list.component.ts @@ -13,6 +13,9 @@ import { DataService } from '../../../data/providers/data.service'; changeDetection: ChangeDetectionStrategy.OnPush, }) export class RoleListComponent extends BaseListComponent { + readonly initialLimit = 3; + displayLimit: { [id: string]: number } = {}; + constructor(private dataService: DataService, router: Router, route: ActivatedRoute) { super(router, route); super.setQueryFn( @@ -21,6 +24,14 @@ export class RoleListComponent extends BaseListComponent