Skip to content

Commit 49d77dd

Browse files
sarkapalkovicovaHejdaJakub
authored andcommitted
fix(admin): rename role assignment types
- Use EXPLICIT and DERIVED role assignment types.
1 parent eca6a76 commit 49d77dd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libs/perun/pipes/src/lib/group-role-type.pipe.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import { Pipe, PipeTransform } from '@angular/core';
55
})
66
export class GroupRoleTypePipe implements PipeTransform {
77
transform(value: string): string {
8-
let type = value.replace('INDIRECT', 'Indirect');
9-
type = type.replace('DIRECT', 'Direct');
8+
let type = value.replace('INDIRECT', 'Derived');
9+
type = type.replace('DIRECT', 'Explicit');
1010
return type;
1111
}
1212
}

libs/perun/pipes/src/lib/selected-role-filter-values.pipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export class SelectedRoleFilterValuesPipe implements PipeTransform {
55
transform(selectedValues: string[], totalCount: number): string {
66
switch (selectedValues.length) {
77
case totalCount:
8-
return 'ALL';
8+
return 'All';
99
case 0:
1010
return '';
1111
default:

0 commit comments

Comments
 (0)