diff --git a/Mohem/src/app/authentication/confirm-login/confirm-login.component.ts b/Mohem/src/app/authentication/confirm-login/confirm-login.component.ts index 7233a9b3..5024b59e 100644 --- a/Mohem/src/app/authentication/confirm-login/confirm-login.component.ts +++ b/Mohem/src/app/authentication/confirm-login/confirm-login.component.ts @@ -493,6 +493,8 @@ export class ConfirmLoginComponent implements OnInit { element.forEach(elementValue => { if(typeNumber === elementValue.value){ buttonSelected = elementValue; + }else{ + elementValue.visible = false; } }); }); diff --git a/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.html b/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.html index 5af2c3cf..cd49c01c 100644 --- a/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.html +++ b/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.html @@ -51,7 +51,7 @@ - +

{{ts.trPK('general','digital-id')}}

diff --git a/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.ts b/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.ts index 037509e7..9f702ded 100644 --- a/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.ts +++ b/Mohem/src/app/hmg-common/ui/welcome-login/welcome.component.ts @@ -224,18 +224,7 @@ export class WelcomeComponent implements OnInit, AfterViewInit, OnDestroy { this.loginWithUser.emit(); } - testLogin(){ - let x = { - title: 'login,verify-with-whatsapp', - url: null, - icon: 'assets/icon/login/104.png', - settings: new ButtonSettings(true, true, true, true), - value: 4, - visible: true, - buttonClass: 'buttonClassWhite', - pClass: 'pClassMyFileIconBlack', - class: 'nationalIdIcon', - }; + loginWithDigitalID(){ this.confimLogin.checkAccess(this.logintype, true, this.logintype); }