Commit 6937133101a9ff9cbf5fc77bdf8a42e494867eba
1 parent
9a1421ccfc
Exists in
develop
and in
1 other branch
cancelar-compra y timeout
Showing
3 changed files
with
4 additions
and
6 deletions
Show diff stats
src/app/app.component.ts
... | ... | @@ -10,7 +10,7 @@ export class AppComponent implements OnInit { |
10 | 10 | title = 'autoservicio-axion'; |
11 | 11 | timerReposo: any; |
12 | 12 | |
13 | - constructor ( | |
13 | + constructor( | |
14 | 14 | private router: Router, |
15 | 15 | ) { } |
16 | 16 | |
... | ... | @@ -21,9 +21,7 @@ export class AppComponent implements OnInit { |
21 | 21 | window.location.href !== 'http://localhost:4206/#/pedidos-salientes' |
22 | 22 | ) { |
23 | 23 | this.startTimeOutInactividad(); |
24 | - } else { | |
25 | - console.log(window.location.href) | |
26 | - } | |
24 | + }; | |
27 | 25 | } |
28 | 26 | |
29 | 27 | restartTimer() { |
src/app/modules/comanda/comanda.component.ts
... | ... | @@ -52,7 +52,7 @@ export class ComandaComponent implements OnInit { |
52 | 52 | } |
53 | 53 | |
54 | 54 | updateComanda(comanda: IComanda, estadoNuevo: number, observacionNueva: string) { |
55 | - let data = { | |
55 | + const data = { | |
56 | 56 | idComanda: comanda.id, |
57 | 57 | estado: estadoNuevo, |
58 | 58 | observacion: observacionNueva, |
src/app/services/articulo/articulo.service.ts