gnunet-svn
[Top][All Lists]
Advanced

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

[reclaim-ui] 268/459: style


From: gnunet
Subject: [reclaim-ui] 268/459: style
Date: Fri, 11 Jun 2021 23:26:00 +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 2b8eaeeca5bd98e4971a251c3a9e6f2ed8fc06cd
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Thu Aug 6 09:54:36 2020 +0200

    style
---
 src/app/edit-identity/edit-identity.component.ts | 45 +++++++++++-------------
 1 file changed, 20 insertions(+), 25 deletions(-)

diff --git a/src/app/edit-identity/edit-identity.component.ts 
b/src/app/edit-identity/edit-identity.component.ts
index 7eb8318..daf85c7 100644
--- a/src/app/edit-identity/edit-identity.component.ts
+++ b/src/app/edit-identity/edit-identity.component.ts
@@ -23,31 +23,31 @@ import { ConfigService } from '../config.service';
 export class EditIdentityComponent implements OnInit {
 
   identity: Identity;
-  attributes: Attribute[];
-  attestations: Attestation[];
+  attributes: Attribute[] = [];
+  attestations: Attestation[] = [];
   attestationValues: {};
   newAttribute: Attribute;
   newAttestedClaim: Attribute;
-  missingAttested: Attribute[];
-  requestedClaims: Attribute[];
-  optionalClaims: Attribute[];
+  missingAttested: Attribute[]  = [];
+  requestedClaims: Attribute[]  = [];
+  optionalClaims: Attribute[]  = [];
   webfingerEmail: string;
-  authorizations: Authorization[];
+  authorizations: Authorization[] = [];
   newIdProvider: IdProvider;
-  emailNotFoundAlertClosed: boolean;
-  existingProfileClaims: Attribute[];
-  missingProfileClaims: Attribute[];
-  existingPhoneClaims: Attribute[];
-  missingPhoneClaims: Attribute[];
-  existingEmailClaims: Attribute[];
-  missingEmailClaims: Attribute[];
-  existingAddressClaims: Attribute[];
-  missingAddressClaims: Attribute[];
-  existingNonStandardClaims: Attribute[];
-  missingNonStandardClaims: Attribute[];
-  showExtraInfo: boolean;
-  showGeneralInfo: boolean;
-  actions: string;
+  emailNotFoundAlertClosed: boolean = true;
+  existingProfileClaims: Attribute[] = [];
+  missingProfileClaims: Attribute[] = [];
+  existingPhoneClaims: Attribute[] = [];
+  missingPhoneClaims: Attribute[] = [];
+  existingEmailClaims: Attribute[] = [];
+  missingEmailClaims: Attribute[] = [];
+  existingAddressClaims: Attribute[] = [];
+  missingAddressClaims: Attribute[] = [];
+  existingNonStandardClaims: Attribute[] = [];
+  missingNonStandardClaims: Attribute[] = [];
+  showExtraInfo: boolean = false;
+  showGeneralInfo: boolean = true;
+  actions: string = '';
 
   constructor(private reclaimService: ReclaimService,
               private identityService: IdentityService,
@@ -59,13 +59,8 @@ export class EditIdentityComponent implements OnInit {
               private router: Router,) {}
 
   ngOnInit() {
-    this.actions = '';
-    this.attributes = [];
-    this.attestations = [];
-    this.optionalClaims = [];
     this.attestationValues = {};
     this.webfingerEmail = '';
-    this.emailNotFoundAlertClosed = true;
     this.newIdProvider = new IdProvider ('', '', '');
     this.loadAuthorizationsFromLocalStorage();
     this.identity = new Identity('','');

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