Commit 6c95917e3ad481ba3206d63b4cfc4764a2b837ba

Authored by Benjamin Rodriguez
1 parent 38f25b31c7
Exists in develop

agrego img not found cuando la promo no tiene imagen

Showing 1 changed file with 7 additions and 7 deletions   Show diff stats
src/app/modules/admin/admin.component.ts
... ... @@ -14,17 +14,17 @@ export class AdminComponent implements OnInit, OnDestroy {
14 14 ) { }
15 15  
16 16 ngOnInit() {
17   - // this.inactiveScreen.startTimeOutInactividad();
  17 + this.inactiveScreen.startTimeOutInactividad();
18 18 }
19 19  
20 20 ngOnDestroy() {
21   - // clearTimeout(this.inactiveScreen.timerReposo);
  21 + clearTimeout(this.inactiveScreen.timerReposo);
22 22 }
23 23  
24   - // @HostListener('document:click', ['$event'])
25   - // eventListener(event: Event) {
26   - // clearTimeout(this.inactiveScreen.timerReposo);
27   - // this.inactiveScreen.startTimeOutInactividad();
28   - // }
  24 + @HostListener('document:click', ['$event'])
  25 + eventListener(event: Event) {
  26 + clearTimeout(this.inactiveScreen.timerReposo);
  27 + this.inactiveScreen.startTimeOutInactividad();
  28 + }
29 29  
30 30 }