diff --git a/src/app/OtherService/document-counter.service.ts b/src/app/OtherService/document-counter.service.ts
index 4ce8db13c..a2b8c2059 100644
--- a/src/app/OtherService/document-counter.service.ts
+++ b/src/app/OtherService/document-counter.service.ts
@@ -32,6 +32,8 @@ export class DocumentCounterService {
}
get prTotalDocument() {
- return 0
+ return this.despachoStore.count + this.expedienteGbStore.count + this.pedidosStore.countdeferimento
+ + this.pedidosStore.countparecer + this.expedientePrStore.count + this.despachoPrStore.count + this.pendentesStore.count
+ + this.eventoAprovacaoStore.count + this.deplomasStore.diplomasListCount + this.deplomasStore.countDiplomasListCount
}
}
diff --git a/src/app/home/home.page.html b/src/app/home/home.page.html
index 876b3cbc1..306d7d197 100644
--- a/src/app/home/home.page.html
+++ b/src/app/home/home.page.html
@@ -15,8 +15,8 @@
- {{documentCounterService.mdTotalDocument}}
- 0
+ {{ documentCounterService.mdTotalDocument }}
+ {{ documentCounterService.prTotalDocument }}
Gabinete
diff --git a/src/app/pages/gabinete-digital/expedientes-pr/expediente-pr/expediente-pr.page.ts b/src/app/pages/gabinete-digital/expedientes-pr/expediente-pr/expediente-pr.page.ts
index a38fa2a97..4546c2355 100644
--- a/src/app/pages/gabinete-digital/expedientes-pr/expediente-pr/expediente-pr.page.ts
+++ b/src/app/pages/gabinete-digital/expedientes-pr/expediente-pr/expediente-pr.page.ts
@@ -139,7 +139,6 @@ export class ExpedientePrPage implements OnInit {
});
}
-
async LoadTaskDetail(serial: string) {
this.processes.GetTask(serial).subscribe(res => {