This commit is contained in:
Eudes Inácio
2021-11-29 17:17:39 +01:00
4 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ export class DespachoService {
}
async getList({updateStore = false}): Promise<customTask[]> | null {
async getList({updateStore = false}) {
if (this.LoaderService.loading) {
return this.despachoStore.list
+3 -1
View File
@@ -97,12 +97,13 @@ export class HomePage implements OnInit {
});
window['platform'] = platform
window['inactivity/function'] = () => {
if (window.location.pathname != '/inactivity') {
document.querySelectorAll('ion-modal').forEach((e: any) => e.remove())
document.querySelectorAll('popover-viewport').forEach((e: any) => e.remove())
document.querySelectorAll('.popover-viewport').forEach((e: any) => e.remove())
const pathname = window.location.pathname
SessionStore.setUrlBeforeInactivity(pathname)
@@ -111,6 +112,7 @@ export class HomePage implements OnInit {
}
}
goto(url) {
@@ -448,6 +448,7 @@ export class DespachoPrPage implements OnInit {
else if (actionName == 'Reexecução') {
await this.reexecutar(res.data.note, docs);
}
this.goBack();
}
});
@@ -263,6 +263,7 @@ export class DespachosPrOptionsPage implements OnInit {
else if(actionName == 'Concluido') {
await this.concluir(res.data.note, docs);
}
this.goBack();
}
});