[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.
- [reclaim-ui] 10/459: optimised Dockerfile -> yarn running all the time (unintended), (continued)
- [reclaim-ui] 10/459: optimised Dockerfile -> yarn running all the time (unintended), gnunet, 2021/06/11
- [reclaim-ui] 06/459: update deps, gnunet, 2021/06/11
- [reclaim-ui] 03/459: add gitignore, gnunet, 2021/06/11
- [reclaim-ui] 12/459: implemented functionality for redirecting for access_denied #2, gnunet, 2021/06/11
- [reclaim-ui] 05/459: forgot file, gnunet, 2021/06/11
- [reclaim-ui] 13/459: added error desc for access_denied, gnunet, 2021/06/11
- [reclaim-ui] 15/459: See previous commit, gnunet, 2021/06/11
- [reclaim-ui] 16/459: Update README.md, gnunet, 2021/06/11
- [reclaim-ui] 01/459: Initial commit, gnunet, 2021/06/11
- [reclaim-ui] 07/459: readme update, gnunet, 2021/06/11
- [reclaim-ui] 11/459: resolved #1,
gnunet <=
- [reclaim-ui] 04/459: add yarn lock, gnunet, 2021/06/11
- [reclaim-ui] 14/459: towards cancel ng, gnunet, 2021/06/11
- [reclaim-ui] 18/459: hash tag not needed for this image, gnunet, 2021/06/11
- [reclaim-ui] 19/459: update, gnunet, 2021/06/11
- [reclaim-ui] 20/459: Merge branch 'master' of gitlab.com:reclaimid/ui, gnunet, 2021/06/11
- [reclaim-ui] 02/459: Migrated from internal devops without history, gnunet, 2021/06/11
- [reclaim-ui] 17/459: add CI, gnunet, 2021/06/11
- [reclaim-ui] 29/459: update icon again, gnunet, 2021/06/11
- [reclaim-ui] 30/459: clear local storage, gnunet, 2021/06/11
- [reclaim-ui] 22/459: changes, gnunet, 2021/06/11