gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 285/459: fix


From: gnunet
Subject: [reclaim-ui] 285/459: fix
Date: Fri, 11 Jun 2021 23:26:17 +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 3102fdf222f9a1b5f367e77af298f371bb2d17ab
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Fri Aug 7 20:29:32 2020 +0200

    fix
---
 src/app/identity-list/identity-list.component.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 8793cd2..8946d56 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -429,10 +429,12 @@ export class IdentityListComponent implements OnInit {
   }
 
   isClaimAttested(attribute: Attribute): boolean {
+    if (undefined === attribute) { return false; }
     return attribute.flag === '1';
   }
 
   getAttributeValue(identity: Identity, attribute: Attribute): string {
+    if (undefined === attribute) { return '?' };
     if (!this.isClaimAttested(attribute)) { return attribute.value };
     if (undefined === this.attestations[identity.pubkey]) { return '?'};
     for (let attest of this.attestations[identity.pubkey]) {

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