From 6c95917e3ad481ba3206d63b4cfc4764a2b837ba Mon Sep 17 00:00:00 2001 From: Benjamin Date: Fri, 24 Jan 2020 17:13:40 -0300 Subject: [PATCH] agrego img not found cuando la promo no tiene imagen --- src/app/modules/admin/admin.component.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/modules/admin/admin.component.ts b/src/app/modules/admin/admin.component.ts index 3577f55..b2c5510 100644 --- a/src/app/modules/admin/admin.component.ts +++ b/src/app/modules/admin/admin.component.ts @@ -14,17 +14,17 @@ export class AdminComponent implements OnInit, OnDestroy { ) { } ngOnInit() { - // this.inactiveScreen.startTimeOutInactividad(); + this.inactiveScreen.startTimeOutInactividad(); } ngOnDestroy() { - // clearTimeout(this.inactiveScreen.timerReposo); + clearTimeout(this.inactiveScreen.timerReposo); } - // @HostListener('document:click', ['$event']) - // eventListener(event: Event) { - // clearTimeout(this.inactiveScreen.timerReposo); - // this.inactiveScreen.startTimeOutInactividad(); - // } + @HostListener('document:click', ['$event']) + eventListener(event: Event) { + clearTimeout(this.inactiveScreen.timerReposo); + this.inactiveScreen.startTimeOutInactividad(); + } } -- 1.9.1