mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
Fix
This commit is contained in:
@@ -197,6 +197,7 @@ export class EditEventPage implements OnInit {
|
||||
]),
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
openInicio() {
|
||||
@@ -256,7 +257,8 @@ export class EditEventPage implements OnInit {
|
||||
|
||||
this.showLoader = true;
|
||||
|
||||
await this.eventsService.editEvent(this.postEvent, 2, 3).subscribe(async () => {
|
||||
try {
|
||||
await this.eventsService.editEvent(this.postEvent, 2, 3).toPromise()
|
||||
if(this.initCalendarName != this.postEvent.CalendarName) {
|
||||
let body = {
|
||||
"EventId": this.postEvent.EventId,
|
||||
@@ -269,11 +271,10 @@ export class EditEventPage implements OnInit {
|
||||
}
|
||||
this.showLoader = false;
|
||||
this.toastService.successMessage()
|
||||
},
|
||||
error => {
|
||||
} catch(error) {
|
||||
this.showLoader = false
|
||||
this.toastService.badRequest()
|
||||
});
|
||||
}
|
||||
|
||||
this.clearPostEvent.emit();
|
||||
this.deleteTemporaryData();
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
|
||||
<div *ngSwitchCase="'parecer'" class="centered-div" >
|
||||
<div
|
||||
*ngIf="!skeletonLoader && pedidosstore.listparecer.length == 0"
|
||||
*ngIf=" pedidosstore.listparecer.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<span>Lista vazia</span>
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
<div *ngSwitchCase="'deferimento'" class="centered-div">
|
||||
<div
|
||||
*ngIf="!skeletonLoader && pedidosstore.listdeferimento.length == 0"
|
||||
*ngIf="pedidosstore.listdeferimento.length == 0"
|
||||
class="empty-list d-flex height-100 align-center justify-content-center"
|
||||
>
|
||||
<span>Lista vazia</span>
|
||||
|
||||
Reference in New Issue
Block a user