gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 303/459: fix booleans and function calls


From: gnunet
Subject: [reclaim-ui] 303/459: fix booleans and function calls
Date: Fri, 11 Jun 2021 23:26:35 +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 7d5b63fa8e8e042276916b1b5bfd7ff6a6b18546
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Thu Aug 13 17:14:01 2020 +0200

    fix booleans and function calls
---
 src/app/identity-list/identity-list.component.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/app/identity-list/identity-list.component.html 
b/src/app/identity-list/identity-list.component.html
index 87fe6d4..d884bb1 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -88,11 +88,11 @@
       role="alert">
       <span class="fa fa-openid"></span> This identity is missing some 
requested information:
       <ul>
-        <li *ngIf="isProfileRequested() && 
isProfileMissing(identity)">getProfileDescription()</li>
-        <li *ngIf="isEmailRequested() && 
isEmailMissing(identity)">getEmailDescription()</li>
-        <li *ngIf="isPhoneRequested() && 
isPhoneMissing(identity)">getPhoneDescription()</li>
-        <li *ngIf="isAddressRequested() && 
isAddressMissing(identity)">getAddressDescription()</li>
-        <li *ngFor="let attr of getMissingClaims(identity)">{{attr.name}}<i 
*ngIf="!isOptional(attr)"> (required)</i></li>
+        <li *ngIf="isProfileRequested() && isProfileMissing(identity)">{{ 
getProfileDescription() }}</li>
+        <li *ngIf="isEmailRequested() && isEmailMissing(identity)">{{ 
getEmailDescription() }}</li>
+        <li *ngIf="isPhoneRequested() && isPhoneMissing(identity)">{{ 
getPhoneDescription() }}</li>
+        <li *ngIf="isAddressRequested() && isAddressMissing(identity)">{{ 
getAddressDescription() }}</li>
+        <li *ngFor="let attr of 
getMissingClaims(identity)"><b>{{attr.name}}</b><i *ngIf="!isOptional(attr)"> 
(required)</i></li>
       </ul>
       <button class="btn btn-primary" [routerLink]="['/edit-identity', 
identity.name]">
         <span class="fa fa-edit"></span> Edit identity
@@ -133,7 +133,7 @@
       </div>
     </div>
     <div *ngIf="inOpenIdFlow()">
-      <button [disabled]="!isClientVerified() && 
!isAnyRequiredClaimMissing(identity)"
+      <button [disabled]="!isClientVerified() || 
isAnyRequiredClaimMissing(identity)"
         (click)="loginIdentity(identity)"
         class="btn btn-primary mr-1 openid-login">
         <span *ngIf="isClientVerified()">Share information marked with <i 
class="fa fa-openid text-primary"></i> from this identity.</span>

-- 
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]