Bug on refresh button solved

This commit is contained in:
Eudes Inácio
2023-06-12 08:20:48 +01:00
parent 4f90a66493
commit d011b27493
4 changed files with 14 additions and 10 deletions
@@ -55,7 +55,7 @@
</div>
</div>
<button title="Atualizar" *ngIf="hideRefreshBtn && TaskService.loadCount" class="btn-no-color btn-refresh" (click)="doRefreshAside($event)">
<button title="Atualizar" *ngIf="hideRefreshBtn && TaskService.loadCount" class="btn-no-color btn-refresh" (click)="doRefreshAside()">
<ion-icon class="title-icon font-awesome" name="reload-circle"></ion-icon>
</button>
<div *ngIf="!hideRefreshBtn" class="title-icons">
@@ -460,7 +460,11 @@ export class GabineteDigitalPage implements OnInit {
doRefreshAside() {
window['gabinete-aside-refresh']()
try {
window['gabinete-aside-refresh']()
} catch (error) {
}
setTimeout(() => {
this.loadAllProcesses();
}, 1000)
+1 -1
View File
@@ -8,7 +8,7 @@ export const oaprProd: Environment = {
apiChatUrl: 'https://gd-chat.oapr.gov.ao/api/v1/',
apiWsChatUrl: 'wss://gd-chat.oapr.gov.ao/websocket',
logoLabel: 'Presidente da República',
despachoLabel: 'Presidencial',
despachoLabel: 'Presidenciais',
despachoLabel2: 'Despachos Presidênciais',
production: false,
domain: 'oapr.gov.ao',
+7 -7
View File
@@ -1,12 +1,12 @@
export let versionData = {
"shortSHA": "332125e40",
"SHA": "332125e40f2d7924e5869cfa78ea3d2924fad882",
"shortSHA": "4f90a6649",
"SHA": "4f90a66493b84e3b8d78ff48c1c305531a9a9db2",
"branch": "feature/gabinete-search",
"lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Sun Jun 11 20:20:24 2023 +0100'",
"lastCommitMessage": "merge",
"lastCommitNumber": "5000",
"lastCommitTime": "'Sun Jun 11 20:25:07 2023 +0100'",
"lastCommitMessage": "remove text",
"lastCommitNumber": "5001",
"change": "",
"changeStatus": "On branch feature/gabinete-search\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.html\n\tmodified: src/environments/environment.ts",
"changeAuthor": "peter.maquiran"
"changeStatus": "On branch feature/gabinete-search\nYour branch is behind 'origin/feature/gabinete-search' by 4 commits, and can be fast-forwarded.\n (use \"git pull\" to update your local branch)\n\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.html\n\tmodified: src/app/pages/gabinete-digital/gabinete-digital.page.ts\n\tmodified: src/environments/suport/oapr.ts",
"changeAuthor": "eudes.inacio"
}