gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 217/459: fixed attestation-save (already existing attestati


From: gnunet
Subject: [reclaim-ui] 217/459: fixed attestation-save (already existing attestations were always added again)
Date: Fri, 11 Jun 2021 23:25:09 +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 2f4a00fb36e016afe27c70429a0ed9e633c2c4c5
Author: anna wimbauer <anna.wibauer@gmx.de>
AuthorDate: Wed Jun 17 11:06:47 2020 +0200

    fixed attestation-save (already existing attestations were always added 
again)
---
 src/app/edit-attestations/edit-attestations.component.ts | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/app/edit-attestations/edit-attestations.component.ts 
b/src/app/edit-attestations/edit-attestations.component.ts
index bb38606..8601d0e 100644
--- a/src/app/edit-attestations/edit-attestations.component.ts
+++ b/src/app/edit-attestations/edit-attestations.component.ts
@@ -88,13 +88,6 @@ export class EditAttestationsComponent implements OnInit {
 
   private storeAttestation() {
     const promises = [];
-    let i;
-    if (undefined !== this.attestations) {
-      for (i = 0; i < this.attestations.length; i++) {
-        promises.push(
-          from(this.reclaimService.addAttestation(this.identity, 
this.attestations[i])));
-      }
-    }
     if ((this.newAttestation.value !== '') || (this.newAttestation.type !== 
'')) {
       promises.push(from(this.reclaimService.addAttestation(this.identity, 
this.newAttestation)));
     }

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