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',