From a473fb8ccfdaa98c14b3b39982f84fb479cff1b6 Mon Sep 17 00:00:00 2001 From: Alexandre Pion Date: Thu, 28 Jul 2022 11:43:09 +0200 Subject: [PATCH] Remove unused property --- src/app/components/form/form.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/app/components/form/form.component.ts b/src/app/components/form/form.component.ts index 5c17f721..ef16b0d6 100644 --- a/src/app/components/form/form.component.ts +++ b/src/app/components/form/form.component.ts @@ -52,7 +52,6 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { private _showProgressBar: boolean; private langChangeSubscription: Subscription; - private domainName: string = ''; private routeParamsSubscription: Subscription; public history = {}; @@ -71,8 +70,8 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy { this.routeParamsSubscription = this.activatedRoute.params.subscribe((params: Params) => { if ( params['domain'] ) { - this.domainName = params['domain']; - this.form.controls.domain.setValue(this.domainName); + let domainName: string = params['domain']; + this.form.controls.domain.setValue(domainName); this.runDomainCheck(); } });