fix update bug

This commit is contained in:
Peter Maquiran
2024-04-12 14:25:09 +01:00
parent 73a8885435
commit d72365cb41
3 changed files with 11 additions and 20 deletions
@@ -284,10 +284,15 @@ export class ViewPublicationsPage implements OnInit {
modal.onDidDismiss().then((res) => {
if (res.data == 'Yes') {
const loader = this.toastService.loading();
try {
this.publications.DeletePresidentialAction(folderId).toPromise();
this.httpErrorHandle.httpsSucessMessagge('Eliminar Acção')
setTimeout(()=> {
window['updateAction']()
}, 1500)
} catch (error) {
this.httpErrorHandle.httpStatusHandle(error)
}