add searchString

This commit is contained in:
Eduardo Quiros 2021-08-08 23:38:33 -06:00
parent 999335af87
commit d82a53548b
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 4 additions and 1 deletions

View File

@ -27,6 +27,7 @@ export class UsuarioPlantillasComponent implements OnInit {
isLoading = false; isLoading = false;
usuarioExtra: UsuarioExtra | null = null; usuarioExtra: UsuarioExtra | null = null;
account: Account | null = null; account: Account | null = null;
searchString: string;
constructor( constructor(
protected plantillaService: PlantillaService, protected plantillaService: PlantillaService,
@ -38,7 +39,9 @@ export class UsuarioPlantillasComponent implements OnInit {
protected accountService: AccountService, protected accountService: AccountService,
protected encuestaService: EncuestaService, protected encuestaService: EncuestaService,
protected router: Router protected router: Router
) {} ) {
this.searchString = '';
}
ngOnInit(): void { ngOnInit(): void {
this.accountService.getAuthenticationState().subscribe(account => { this.accountService.getAuthenticationState().subscribe(account => {