From 2ffa2df03ce9dd833d1b75b970458f495a3f5e12 Mon Sep 17 00:00:00 2001 From: Alexander Winnen <7125443+awinnen@users.noreply.github.com> Date: Sat, 4 May 2019 13:13:12 +0200 Subject: [PATCH] fix indention --- .../angular/forms/control-errors.component.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Squidex/app/framework/angular/forms/control-errors.component.ts b/src/Squidex/app/framework/angular/forms/control-errors.component.ts index 22bd8af72..d58093df1 100644 --- a/src/Squidex/app/framework/angular/forms/control-errors.component.ts +++ b/src/Squidex/app/framework/angular/forms/control-errors.component.ts @@ -60,7 +60,7 @@ export class ControlErrorsComponent extends StatefulComponent implements public ngOnDestroy() { super.ngOnDestroy(); - this.restoreOriginalMarkAsTouchedFunction(); + this.restoreOriginalMarkAsTouchedFunction(); } public ngOnChanges() { @@ -84,7 +84,7 @@ export class ControlErrorsComponent extends StatefulComponent implements if (this.control !== control) { this.unsubscribeAll(); - this.restoreOriginalMarkAsTouchedFunction(); + this.restoreOriginalMarkAsTouchedFunction(); this.control = control; @@ -110,11 +110,11 @@ export class ControlErrorsComponent extends StatefulComponent implements this.createMessages(); } - private restoreOriginalMarkAsTouchedFunction() { - if (this.control && this.originalMarkAsTouched) { - this.control['markAsTouched'] = this.originalMarkAsTouched; - } + private restoreOriginalMarkAsTouchedFunction() { + if (this.control && this.originalMarkAsTouched) { + this.control['markAsTouched'] = this.originalMarkAsTouched; } + } private createMessages() { const errors: string[] = []; @@ -135,4 +135,4 @@ export class ControlErrorsComponent extends StatefulComponent implements this.next(s => ({ ...s, errorMessages: errors })); } } -} \ No newline at end of file +}