Improve profile label

This commit is contained in:
Peter Maquiran
2021-08-06 12:19:38 +01:00
parent c135f2a8f8
commit 578165f258
4 changed files with 24 additions and 2 deletions
@@ -72,4 +72,16 @@ export class HeaderNoSearchPage implements OnInit {
locationPathname(): string {
return window.location.pathname
}
profileLabel(text) {
if (text == 'MDGPR') {
return 'MD'
} else if (text=='PR') {
return text
} else {
return 'UN'
}
}
}