Skip to content

Commit

Permalink
Mensaje cuando no hay resultados
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJonaCode committed Sep 25, 2020
1 parent 1988cdb commit ec99f41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/app/components/buscador/buscador.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<h1>Buscando: <small>{{termino}}</small></h1>
<hr>

<div class="row animated fadeIn fast" *ngIf="heroes.length == 0">
<div class="col-md-12">
<div class="alert alert-info" role="alert">
No existen resultados con el término: {{termino}}
</div>
</div>
</div>

<div class="card-columns">

<div class="card animated fadeIn fast" *ngFor="let heroe of heroes; let i = index">
Expand Down

0 comments on commit ec99f41

Please sign in to comment.