gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 178/459: handle optional refs


From: gnunet
Subject: [reclaim-ui] 178/459: handle optional refs
Date: Fri, 11 Jun 2021 23:24:30 +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 b9254d1ba50280068cf90d6668fbe95d94febf89
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Mon Jan 20 15:50:55 2020 +0100

    handle optional refs
---
 src/app/identity-list/identity-list.component.ts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index ee28486..f56ce1b 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -332,4 +332,16 @@ export class IdentityListComponent implements OnInit {
     return false; //FIXME actually handle this 
https://gitlab.com/voggenre/ui/commit/dd9b6656dee7dbf59809dcc9bc2508ee70d8afe6
   }
 
+  getOptional(identity) {
+    const arr = [];
+    let i = 0;
+    if (!this.inOpenIdFlow()) {
+      return [];
+    }
+    for (i = 0; i < this.optionalReferences[identity.pubkey].length; i++) {
+        arr.push(this.optionalReferences[identity.pubkey][i].name);
+    }
+    return arr;
+  }
+
 }

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