removed unused imports

mazdak/UX-1570
Mazdak Gibran 1 month ago
parent 61df1a4ac2
commit ba5ca98da9

@ -3,9 +3,6 @@ import { Component, OnInit, ViewChild } from '@angular/core';
import { AbstractControl, FormBuilder, FormControl, FormGroup, FormsModule, ReactiveFormsModule, ValidationErrors, Validators } from '@angular/forms';
import { TranslateModule } from '@ngx-translate/core';
import { PasswordHideShowComponent } from '../../shared/components/password-hide-show/password-hide-show.component';
import { StorageService } from '../../shared/services/storage.service';
import { Router } from '@angular/router';
import { URIService } from '../../app.uri';
import { HttpURIService } from '../../app.http.uri.service';
import { URIKey } from '../../utils/uri-enums';
@ -29,7 +26,7 @@ passwordType2: string = 'password';
@ViewChild('psh') passwordHideShow?: PasswordHideShowComponent;
@ViewChild('psh1') passwordHideShow1 ?: PasswordHideShowComponent;
@ViewChild('psh2') passwordHideShow2 ?: PasswordHideShowComponent;
constructor(private fb: FormBuilder, private uriService: URIService, private httpURIService: HttpURIService){}
constructor(private fb: FormBuilder, private httpURIService: HttpURIService){}
togglePasswordType() {
this.passwordType = this.passwordHideShow?.showPassword ? 'password' : 'text';

@ -4,7 +4,6 @@ import { TranslateModule } from '@ngx-translate/core';
import { CommonModule } from '@angular/common';
import { PasswordHideShowComponent } from '../../shared/components/password-hide-show/password-hide-show.component';
import { URIKey } from '../../utils/uri-enums';
import { URIService } from '../../app.uri';
import { HttpURIService } from '../../app.http.uri.service';
@Component({
@ -21,7 +20,7 @@ export class ResetPasswordComponent implements OnInit{
@ViewChild('psh1') passwordHideShow1?: PasswordHideShowComponent;
@ViewChild('psh2') passwordHideShow2?: PasswordHideShowComponent;
constructor(private fb: FormBuilder, private uriService: URIService, private httpURIService: HttpURIService){}
constructor(private fb: FormBuilder, private httpURIService: HttpURIService){}
ngOnInit(): void {
this.resetPasswordForm = this.fb.group({

Loading…
Cancel
Save