This commit is contained in:
2020-03-02 18:47:04 +01:00
committed by smuddy
parent 5b746e0db5
commit ccd91aa81c
93 changed files with 444 additions and 89 deletions

View File

@@ -0,0 +1,15 @@
import {Pipe, PipeTransform} from '@angular/core';
@Pipe({
name: 'role'
})
export class RolePipe implements PipeTransform {
transform(role: 'admin'): string {
switch (role) {
case 'admin':
return 'Administrator';
}
}
}