Commit ddcfdd5ac9924936d2f9dda037572e1608886ed7
1 parent
2692033263
Exists in
develop
agrego boton cancel con misma funcionalidad que elegir producto solo en promocion
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 | } |