Call safe

This commit is contained in:
Peter Maquiran
2021-08-13 17:31:01 +01:00
parent d53b051e5b
commit f83296a0c3
4 changed files with 202 additions and 186 deletions
+1 -2
View File
@@ -100,7 +100,7 @@ export class HomePage implements OnInit {
mobilefirstConnect() {
if(window['WLAuthorizationManager']){
if(window['WLAuthorizationManager']) {
if(window['WLAuthorizationManager'].obtainAccessToken) {
window['WLAuthorizationManager'].obtainAccessToken("").then((token) => {
@@ -130,7 +130,6 @@ export class HomePage implements OnInit {
}); */
});
}
}