gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[reclaim-ui] 162/459: fix modal bug


From: gnunet
Subject: [reclaim-ui] 162/459: fix modal bug
Date: Fri, 11 Jun 2021 23:24:14 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository reclaim-ui.

commit 0a818637fc271bae4d784c74211a9a13a4488267
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Dec 10 20:35:14 2019 +0100

    fix modal bug
---
 src/app/authorization-request/authorization-request.component.html | 2 +-
 src/app/authorization-request/authorization-request.component.ts   | 6 +++++-
 src/app/identity-list/identity-list.component.ts                   | 3 ---
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/app/authorization-request/authorization-request.component.html 
b/src/app/authorization-request/authorization-request.component.html
index e323603..58679cf 100644
--- a/src/app/authorization-request/authorization-request.component.html
+++ b/src/app/authorization-request/authorization-request.component.html
@@ -23,7 +23,7 @@
   <button class="btn btn-danger m-1 mt-4" *ngIf="clientNameFound" 
(click)="cancelRequest()" style="margin-bottom: -4%;">
     <span class="fa fa-ban"></span> Decline
   </button>
-  <button class="btn btn-primary m-1 mt-4" *ngIf="clientNameFound" 
(click)="closeModal('OpenIdInfo');">
+  <button class="btn btn-primary m-1 mt-4" *ngIf="clientNameFound">
     <span class="fa fa-arrow-circle-right"></span> Select identity...
   </button>
 </div>
diff --git a/src/app/authorization-request/authorization-request.component.ts 
b/src/app/authorization-request/authorization-request.component.ts
index 96353f1..ddb1dc6 100644
--- a/src/app/authorization-request/authorization-request.component.ts
+++ b/src/app/authorization-request/authorization-request.component.ts
@@ -21,7 +21,11 @@ export class AuthorizationRequestComponent implements OnInit 
{
     this.clientName = '-';
     this.getClientName();
   }
-  
+
+  getScopes() {
+    return this.oidcService.getScope();
+  }
+
   getClientName() {
     this.clientNameFound = undefined;
     this.clientName = this.oidcService.getClientId();
diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index b4971a3..ab86817 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -148,9 +148,6 @@ export class IdentityListComponent implements OnInit {
 
 
   inOpenIdFlow() {
-    if (this.oidcService.inOpenIdFlow() && !this.modalOpened) {
-      this.openModal('OpenIdInfo');
-    }
     return this.oidcService.inOpenIdFlow();
   }
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]