Skip to content

Commit

Permalink
Remove unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Pion committed Jul 28, 2022
1 parent 80c046e commit a473fb8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/components/form/form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};
Expand All @@ -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();
}
});
Expand Down

0 comments on commit a473fb8

Please sign in to comment.