From d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 May 2023 15:27:15 +0200 Subject: Fix lint --- .../my-account-change-email/my-account-change-email.component.ts | 2 +- .../my-account-profile/my-account-profile.component.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'client/src/app/+my-account/my-account-settings') diff --git a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts index ebb7ed2da..1e8fa2a56 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-change-email/my-account-change-email.component.ts @@ -29,7 +29,7 @@ export class MyAccountChangeEmailComponent extends FormReactive implements OnIni ngOnInit () { this.buildForm({ 'new-email': USER_EMAIL_VALIDATOR, - password: USER_PASSWORD_VALIDATOR + 'password': USER_PASSWORD_VALIDATOR }) this.user = this.authService.getUser() diff --git a/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.ts b/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.ts index 8621eb7aa..a2d128190 100644 --- a/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.ts +++ b/client/src/app/+my-account/my-account-settings/my-account-profile/my-account-profile.component.ts @@ -25,17 +25,17 @@ export class MyAccountProfileComponent extends FormReactive implements OnInit { ngOnInit () { this.buildForm({ - username: null, + 'username': null, 'display-name': USER_DISPLAY_NAME_REQUIRED_VALIDATOR, - description: USER_DESCRIPTION_VALIDATOR + 'description': USER_DESCRIPTION_VALIDATOR }) this.form.controls['username'].disable() this.userInformationLoaded.subscribe(() => { this.form.patchValue({ - username: this.user.username, + 'username': this.user.username, 'display-name': this.user.account.displayName, - description: this.user.account.description + 'description': this.user.account.description }) }) } -- cgit v1.2.3