diff --git a/src/main/webapp/app/entities/plantilla/list/plantilla.component.html b/src/main/webapp/app/entities/plantilla/list/plantilla.component.html index 1e9f101..fb3c7bc 100644 --- a/src/main/webapp/app/entities/plantilla/list/plantilla.component.html +++ b/src/main/webapp/app/entities/plantilla/list/plantilla.component.html @@ -25,7 +25,36 @@ +
+
+
+
+ +
+
+
+ +
+ +
+
@@ -48,7 +77,10 @@ - + {{ plantilla.nombre }} {{ plantilla.fechaPublicacionTienda | formatShortDatetime | titlecase }} diff --git a/src/main/webapp/app/entities/plantilla/list/plantilla.component.ts b/src/main/webapp/app/entities/plantilla/list/plantilla.component.ts index e11c369..d3638e8 100644 --- a/src/main/webapp/app/entities/plantilla/list/plantilla.component.ts +++ b/src/main/webapp/app/entities/plantilla/list/plantilla.component.ts @@ -43,17 +43,25 @@ export class PlantillaComponent implements OnInit { }); faExchangeAlt = faExchangeAlt; + + public searchString: string; + public estadoPlantilla: string; + constructor( protected plantillaService: PlantillaService, protected modalService: NgbModal, protected accountService: AccountService, protected fb: FormBuilder, protected categoriaService: CategoriaService - ) {} + ) { + this.searchString = ''; + this.estadoPlantilla = ''; + } loadAll(): void { this.isLoading = true; - + this.searchString = ''; + this.estadoPlantilla = ''; this.plantillaService.query().subscribe( (res: HttpResponse) => { this.isLoading = false;