mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
fix update bug
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user