gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 376/459: updatte attribute info


From: gnunet
Subject: [reclaim-ui] 376/459: updatte attribute info
Date: Fri, 11 Jun 2021 23:27:48 +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 d188e1ef2ce0efe38050f79cbaddf07b0b994bd6
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Fri Dec 25 22:05:26 2020 +0900

    updatte attribute info
---
 src/app/identity-list/identity-list.component.html | 2 +-
 src/app/identity-list/identity-list.component.ts   | 8 --------
 2 files changed, 1 insertion(+), 9 deletions(-)

diff --git a/src/app/identity-list/identity-list.component.html 
b/src/app/identity-list/identity-list.component.html
index 0fac20f..8e380d5 100644
--- a/src/app/identity-list/identity-list.component.html
+++ b/src/app/identity-list/identity-list.component.html
@@ -132,7 +132,7 @@
         <li *ngIf="isEmailRequested() && isEmailMissing(identity)"><b>{{ 
getEmailDescription() }}</b></li>
         <li *ngIf="isPhoneRequested() && isPhoneMissing(identity)"><b>{{ 
getPhoneDescription() }}</b></li>
         <li *ngIf="isAddressRequested() && isAddressMissing(identity)"><b>{{ 
getAddressDescription() }}</b></li>
-        <li *ngFor="let attr of 
getMissingClaims(identity)"><b>{{attr.name}}</b><i *ngIf="!isOptional(attr)">
+        <li *ngFor="let attr of 
getMissingClaims(identity)"><b>{{attr.name}}</b><i>
             ({{ getMessage("identity_list_html@required") }})</i></li>
       </ul>
       <button class="btn btn-primary" [routerLink]="['/edit-identity', 
identity.name]">
diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 34c3f09..94805a9 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -410,14 +410,6 @@ export class IdentityListComponent implements OnInit {
     var claims = this.oidcService.getClaimNamesForRequest();
     for (var claim of claims) {
       let found = false;
-      if ((claim == "preferred_username") ||
-          (claim == "middle_name") ||
-          (claim == "nickname") ||
-          (claim == "picture") ||
-          (claim == "website")) {
-        //We ignore those claims in notifications
-        continue;
-      }
       for (let attr of this.getAttributesForIdentity(identity)) {
         if (claim === attr.name) {
           found = true;

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