Commit eaf216e31119164baae1de3414b2cb5aea9a45a4

Authored by Marcelo Puebla
1 parent 416f7e8bb5
Exists in master and in 1 other branch validar_pve

Arreglo por si en el get de sinonimos viene un array vacio.

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
src/app/components/inicio/inicio.component.ts
... ... @@ -154,6 +154,8 @@ export class InicioComponent implements OnInit {
154 154 this.sinonimos = res;
155 155 if (res.length > 0)
156 156 this.showPopover();
  157 + else
  158 + this.popoverDirective.hide();
157 159 })
158 160 } else {
159 161 this.popoverDirective.hide();