diff --git a/src/app/components/inicio/inicio.component.ts b/src/app/components/inicio/inicio.component.ts index 00fd0f2..2739f01 100644 --- a/src/app/components/inicio/inicio.component.ts +++ b/src/app/components/inicio/inicio.component.ts @@ -154,6 +154,8 @@ export class InicioComponent implements OnInit { this.sinonimos = res; if (res.length > 0) this.showPopover(); + else + this.popoverDirective.hide(); }) } else { this.popoverDirective.hide();