diff --git a/src/app/models/GetTasksListType.ts b/src/app/models/GetTasksListType.ts index cf2615c4a..cfc62c2fe 100644 --- a/src/app/models/GetTasksListType.ts +++ b/src/app/models/GetTasksListType.ts @@ -10,4 +10,6 @@ export let GetTasksListType: "Agenda Oficial PR" | "image/x-icon" | "Despacho" | -"Agendar Evento" \ No newline at end of file +"Agendar Evento" | +"Agenda Oficial MDGPR,Agenda Pessoal MDGPR" | +"Agenda Oficial PR,Agenda Pessoal PR" \ No newline at end of file diff --git a/src/app/store/deplomas.service.ts b/src/app/store/deplomas.service.ts index 0c65d82e6..081133719 100644 --- a/src/app/store/deplomas.service.ts +++ b/src/app/store/deplomas.service.ts @@ -112,12 +112,20 @@ export class DeplomasService { this._diplomasListCount = value.length this._diplomasParaAssinar = value this.saveDiplomasParaAssinar() + + if(window['all-process']) { + window['all-process']() + } } resetDiplomasReview(value: any[]) { this._diplomasReviewList =value this._diplomasReviewCount = value.length this.saveDiplomasReviewList() + + if(window['all-process']) { + window['all-process']() + } } resetDiplomaGerar(value: any[]) { @@ -126,6 +134,9 @@ export class DeplomasService { this._diplomasGerarList = value this.savetDiplomaGerar() + if(window['all-process']) { + window['all-process']() + } } diff --git a/src/app/store/despacho-store.service.ts b/src/app/store/despacho-store.service.ts index af4871c7e..4d1bca69e 100644 --- a/src/app/store/despacho-store.service.ts +++ b/src/app/store/despacho-store.service.ts @@ -109,6 +109,10 @@ export class DespachoStoreService { reset(eventsList: any) { this._list = eventsList this.save({dynamicCount:true}) + + if(window['all-process']) { + window['all-process']() + } } private save = ({dynamicCount = false})=> { diff --git a/src/app/store/despachospr-store.service.ts b/src/app/store/despachospr-store.service.ts index 684c80161..f2887242e 100644 --- a/src/app/store/despachospr-store.service.ts +++ b/src/app/store/despachospr-store.service.ts @@ -38,6 +38,10 @@ reset(eventsList: any) { this.count = this._list.length this.save() + + if(window['all-process']) { + window['all-process']() + } } private save() { diff --git a/src/app/store/eventoaprovacao-store.service.ts b/src/app/store/eventoaprovacao-store.service.ts index 78802a652..4ad195930 100644 --- a/src/app/store/eventoaprovacao-store.service.ts +++ b/src/app/store/eventoaprovacao-store.service.ts @@ -63,7 +63,12 @@ export class EventoaprovacaoStoreService { this.count = this.countPr + this.countMd this.savePr() + + if(window['all-process']) { + window['all-process']() + } } + } resetmd(eventsList: any) { @@ -73,6 +78,11 @@ export class EventoaprovacaoStoreService { this.countMd = this._listMd.length this.count = this.countPr + this.countMd this.saveMd() + + + if(window['all-process']) { + window['all-process']() + } } } diff --git a/src/app/store/expedientegd-store.service.ts b/src/app/store/expedientegd-store.service.ts index 4c12344be..4f56f4810 100644 --- a/src/app/store/expedientegd-store.service.ts +++ b/src/app/store/expedientegd-store.service.ts @@ -36,6 +36,10 @@ export class ExpedientegdStoreService { reset(eventsList: any) { this._list = eventsList this.save() + + if(window['all-process']) { + window['all-process']() + } } private save() { diff --git a/src/app/store/pedidos-store.service.ts b/src/app/store/pedidos-store.service.ts index ec683d1b5..3a1d01c03 100644 --- a/src/app/store/pedidos-store.service.ts +++ b/src/app/store/pedidos-store.service.ts @@ -62,6 +62,9 @@ export class PedidosStoreService { this.countparecer = this._listParecer.length this.saveDeferimento() + if(window['all-process']) { + window['all-process']() + } } resetdeferimento(list: any) { @@ -69,6 +72,9 @@ export class PedidosStoreService { this.countdeferimento =this._listDeferimento.length this.saveParecer() + if(window['all-process']) { + window['all-process']() + } } private saveParecer() { diff --git a/src/app/store/pendestes-store.service.ts b/src/app/store/pendestes-store.service.ts index da0a04b44..cf05d495c 100644 --- a/src/app/store/pendestes-store.service.ts +++ b/src/app/store/pendestes-store.service.ts @@ -42,6 +42,9 @@ export class PendestesStoreService { this.count = this._list.length this.save() + if(window['all-process']) { + window['all-process']() + } } private save() { diff --git a/src/app/store/presidential-actions-store.service.ts b/src/app/store/presidential-actions-store.service.ts index 7ea3adae0..4301ed5d6 100644 --- a/src/app/store/presidential-actions-store.service.ts +++ b/src/app/store/presidential-actions-store.service.ts @@ -32,6 +32,9 @@ export class PresidentialActionsStoreService { this._list = list this.save(this._list) + if(window['all-process']) { + window['all-process']() + } } private save(list: Publication[]) { diff --git a/src/app/store/to-day-event-storage.service.ts b/src/app/store/to-day-event-storage.service.ts index 2bc45749d..692884833 100644 --- a/src/app/store/to-day-event-storage.service.ts +++ b/src/app/store/to-day-event-storage.service.ts @@ -38,6 +38,9 @@ export class ToDayEventStorageService { reset(eventsList: EventList[]) { this._eventsList = eventsList this.save() + if(window['all-process']) { + window['all-process']() + } } private save() { diff --git a/version/git-version.ts b/version/git-version.ts index ea2f1466f..dd24183af 100644 --- a/version/git-version.ts +++ b/version/git-version.ts @@ -1,12 +1,12 @@ export let versionData = { - "shortSHA": "16d2fac86", - "SHA": "16d2fac86425ee17fd8fc25fd93ae35e7bc337e4", + "shortSHA": "3a9c0f1e5", + "SHA": "3a9c0f1e5df63312342e20080ce96d1fae36c1c1", "branch": "no_bug_movemente", "lastCommitAuthor": "'Peter Maquiran'", - "lastCommitTime": "'Fri Feb 10 13:07:08 2023 +0100'", - "lastCommitMessage": "improve", - "lastCommitNumber": "4762", + "lastCommitTime": "'Mon Feb 13 15:19:03 2023 +0100'", + "lastCommitMessage": "Improve", + "lastCommitNumber": "4763", "change": "", - "changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged ...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.ts\n\tmodified: src/app/pages/publications/new-action/new-action.module.ts\n\tmodified: src/app/shared/gabinete-digital/all-processes/all-processes.page.ts", + "changeStatus": "On branch no_bug_movemente\nChanges to be committed:\n (use \"git restore --staged ...\" to unstage)\n\tmodified: src/app/models/GetTasksListType.ts\n\tmodified: src/app/store/deplomas.service.ts\n\tmodified: src/app/store/despacho-store.service.ts\n\tmodified: src/app/store/despachospr-store.service.ts\n\tmodified: src/app/store/eventoaprovacao-store.service.ts\n\tmodified: src/app/store/expedientegd-store.service.ts\n\tmodified: src/app/store/pedidos-store.service.ts\n\tmodified: src/app/store/pendestes-store.service.ts\n\tmodified: src/app/store/presidential-actions-store.service.ts\n\tmodified: src/app/store/to-day-event-storage.service.ts", "changeAuthor": "peter.maquiran" } \ No newline at end of file