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
+10
View File
@@ -142,4 +142,14 @@ export class HeaderPage implements OnInit {
async basicSearch() {
window['searchTriger']()
}
profileLabel(text) {
if (text == 'MDGPR') {
return 'MD'
} else if (text == 'PR') {
return text
} else {
return 'UN'
}
}
}