button icons

This commit is contained in:
2020-04-26 13:27:27 +02:00
committed by smuddy
parent 148621f358
commit 3b6bebcbac
28 changed files with 133 additions and 26 deletions

View File

@@ -1,5 +1,4 @@
import {Pipe, PipeTransform} from '@angular/core';
import {roles} from '../../../services/user/roles';
@Pipe({
@@ -7,7 +6,7 @@ import {roles} from '../../../services/user/roles';
})
export class RolePipe implements PipeTransform {
transform(role: roles): string {
transform(role: string): string {
switch (role) {
case 'contributor':
return 'Mitarbeiter';