gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 11/459: resolved #1


From: gnunet
Subject: [reclaim-ui] 11/459: resolved #1
Date: Fri, 11 Jun 2021 23:21:43 +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 a3da63a52b13b0d2079779b9046dea0e54f6b843
Author: kiliant <kiliant@in.tum.de>
AuthorDate: Tue Nov 27 11:51:29 2018 +0100

    resolved #1
---
 src/app/identity-list/identity-list.component.ts | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/src/app/identity-list/identity-list.component.ts 
b/src/app/identity-list/identity-list.component.ts
index 96ac308..ad2af4e 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -16,6 +16,7 @@ import 'rxjs/add/observable/forkJoin';
   templateUrl: './identity-list.component.html',
   styleUrls: ['./identity-list.component.scss']
 })
+
 export class IdentityListComponent implements OnInit {
 
   requestedAttributes: any;
@@ -55,7 +56,7 @@ export class IdentityListComponent implements OnInit {
     this.identityNameMapper = {};
     this.updateIdentities();
   }
-  
+
   confirmDelete(identity) {
     this.showConfirmDelete = identity;
   }
@@ -117,7 +118,7 @@ export class IdentityListComponent implements OnInit {
 
   addIdentity() {
     this.newIdentity = new Identity ('','');
-  }
+}
 
   editIdentity(identity) {
     this.identityInEdit = identity;
@@ -130,11 +131,11 @@ export class IdentityListComponent implements OnInit {
 
   saveIdentityAttributes(identity) {
     this.storeAttributes(identity)
-    .finally(() => this.updateAttributes(identity))  
+    .finally(() => this.updateAttributes(identity))
     .subscribe(
-      res => console.log(res), 
+      res => console.log(res),
       error => {return Observable.empty()},
-      () => { 
+      () => {
         this.identityInEdit = null;
         this.updateAttributes(identity);
       }
@@ -225,7 +226,7 @@ export class IdentityListComponent implements OnInit {
 
   saveAttribute(identity, attribute) {
     return this.reclaimService.addAttribute(identity, attribute).subscribe 
(data => {
-      //this.updateAttributes(identity);
+        this.updateAttributes(identity);
     });
   }
 
@@ -243,17 +244,17 @@ export class IdentityListComponent implements OnInit {
     }
     if (this.newAttribute.value !== "") {
       promises.push(this.saveAttribute(identity, this.newAttribute));
-    }
+      }
     return Observable.forkJoin(promises)
   }
 
   addAttribute(attribute) {
     this.storeAttributes(this.identityInEdit)
-      .finally(() => this.updateAttributes(this.identityInEdit))  
+      .finally(() => this.updateAttributes(this.identityInEdit))
       .subscribe(
-        res => console.log(res), 
+        res => console.log(res),
         error => {return Observable.empty()},
-        () => { 
+        () => {
           this.newAttribute.name = '';
           this.newAttribute.value = '';
           this.newAttribute.type = "STRING";
@@ -303,7 +304,7 @@ export class IdentityListComponent implements OnInit {
   inOpenIdFlow() {
     return this.oidcService.inOpenIdFlow();
   }
-  
+
   canAddAttribute(identity,attribute) {
     if ((attribute.name === "") || (attribute.value == "")) {
       return false;

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