[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[reclaim-ui] 155/459: fixes
From: |
gnunet |
Subject: |
[reclaim-ui] 155/459: fixes |
Date: |
Fri, 11 Jun 2021 23:24:07 +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 ab8c57a0cc719668c583ba24f585d4aa05d729d9
Author: Schanzenbach, Martin <mschanzenbach@posteo.de>
AuthorDate: Tue Dec 10 17:36:14 2019 +0100
fixes
---
src/app/edit-identity/edit-identity.component.html | 10 +++++-----
src/app/edit-identity/edit-identity.component.ts | 6 +++---
src/app/identity-list/identity-list.component.ts | 1 +
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/app/edit-identity/edit-identity.component.html
b/src/app/edit-identity/edit-identity.component.html
index d854707..0820c55 100644
--- a/src/app/edit-identity/edit-identity.component.html
+++ b/src/app/edit-identity/edit-identity.component.html
@@ -44,7 +44,7 @@
<input placeholder="Value"
[class.text-danger]="!attributeValueValid(newAttribute)"
[(ngModel)]="newAttribute.value">
</td>
<td>
- <button [disabled]="!canAddAttribute(newAttribute)" class="btn
btn-primary" (click)="addAttribute(newAttribute)">
+ <button [disabled]="!canAddAttribute(newAttribute)" class="btn
btn-primary" (click)="addAttribute()">
<span class="fa fa-plus"></span>
</button>
</td>
@@ -63,7 +63,7 @@
</div>
<!-- Authorized entities -->
<div style="margin-top: 1.5em;">
- <table class="table pb-1" *ngIf="showTicketsIdentity">
+ <table class="table pb-1" *ngIf="showTickets">
<thead style="border-top-style: hidden">
<tr>
<th scope="col">
@@ -114,10 +114,10 @@
<button class="btn btn-primary" (click)="saveIdentityAttributes()"
[disabled]="!canSaveIdentity()">
<span class="fa fa-save"></span> Save and Back
</button>
- <button *ngIf="(0 < tickets?.length) && !inOpenIdFlow()" class="btn
btn-primary" (click)="toggleShowTickets()" [style.float]="'right'">
+ <button *ngIf="(0 < tickets.length) && !inOpenIdFlow()" class="btn
btn-primary" (click)="toggleShowTickets()" [style.float]="'right'">
<span class="fa fa-openid"></span>
- <span *ngIf="showTicketsIdentity"> Hide</span>
- <span *ngIf="!showTicketsIdentity"> Show</span>
+ <span *ngIf="showTickets"> Hide</span>
+ <span *ngIf="!showTickets"> Show</span>
authorizations
</button>
</div>
diff --git a/src/app/edit-identity/edit-identity.component.ts
b/src/app/edit-identity/edit-identity.component.ts
index 8acae63..d438c0e 100644
--- a/src/app/edit-identity/edit-identity.component.ts
+++ b/src/app/edit-identity/edit-identity.component.ts
@@ -18,7 +18,7 @@ import { from, forkJoin, EMPTY } from 'rxjs';
})
export class EditIdentityComponent implements OnInit {
- tickets: {};
+ tickets: Ticket[];
identity: Identity;
audienceNames: {};
showTickets: Boolean;
@@ -38,7 +38,7 @@ export class EditIdentityComponent implements OnInit {
private router: Router) { }
ngOnInit() {
- this.tickets = {};
+ this.tickets = [];
this.attributes = [];
this.showConfirmRevoke = null;
this.identity = new Identity('','');
@@ -212,7 +212,7 @@ export class EditIdentityComponent implements OnInit {
return !this.isInConflict(attribute);
}
- canSaveIdentity(identity) {
+ canSaveIdentity() {
if (this.canAddAttribute(this.newAttribute)) {
return true;
}
diff --git a/src/app/identity-list/identity-list.component.ts
b/src/app/identity-list/identity-list.component.ts
index b951fc2..dc6f98b 100644
--- a/src/app/identity-list/identity-list.component.ts
+++ b/src/app/identity-list/identity-list.component.ts
@@ -32,6 +32,7 @@ export class IdentityListComponent implements OnInit {
modalOpened: any;
clientNameFound: any;
errorInfos: any;
+ searchTerm: any;
constructor(private route: ActivatedRoute, private oidcService:
OpenIdService,
private identityService: IdentityService,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [reclaim-ui] 142/459: fix forjoin bug, (continued)
- [reclaim-ui] 142/459: fix forjoin bug, gnunet, 2021/06/11
- [reclaim-ui] 143/459: add error dialogs; fix bugs, gnunet, 2021/06/11
- [reclaim-ui] 140/459: fix for issue #16, gnunet, 2021/06/11
- [reclaim-ui] 136/459: softer reset, gnunet, 2021/06/11
- [reclaim-ui] 144/459: edited openid service to support PKCE, gnunet, 2021/06/11
- [reclaim-ui] 134/459: flush route on cancel, gnunet, 2021/06/11
- [reclaim-ui] 145/459: Merge branch 'master' into 'master', gnunet, 2021/06/11
- [reclaim-ui] 120/459: Updated to Angular 8 * Used new RxJS 6-style operators * Fixed linting errors, gnunet, 2021/06/11
- [reclaim-ui] 146/459: minor style, gnunet, 2021/06/11
- [reclaim-ui] 148/459: fix style, gnunet, 2021/06/11
- [reclaim-ui] 155/459: fixes,
gnunet <=
- [reclaim-ui] 152/459: dependency updates; minor bugfix, gnunet, 2021/06/11
- [reclaim-ui] 147/459: Merge branch 'master' of gitlab.com:reclaimid/ui, gnunet, 2021/06/11
- [reclaim-ui] 153/459: update logo, gnunet, 2021/06/11
- [reclaim-ui] 171/459: fix, gnunet, 2021/06/11
- [reclaim-ui] 151/459: modal positioning, gnunet, 2021/06/11
- [reclaim-ui] 149/459: change wording, gnunet, 2021/06/11
- [reclaim-ui] 157/459: followup fix, gnunet, 2021/06/11
- [reclaim-ui] 150/459: more working, gnunet, 2021/06/11
- [reclaim-ui] 180/459: clarify optional attributes, gnunet, 2021/06/11
- [reclaim-ui] 166/459: return if redirect, gnunet, 2021/06/11