mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Merge branch 'developer' of bitbucket.org:equilibriumito/gabinete-digital into developer
This commit is contained in:
+3
-5
@@ -104,16 +104,14 @@ export class PublicationDetailPage implements OnInit {
|
||||
|
||||
try {
|
||||
await this.publications.DeletePublication(this.folderId, this.publicationId).toPromise();
|
||||
this.toastService.successMessage('Publicaçao eliminado')
|
||||
|
||||
this.close();
|
||||
//this.goBackToViewPublications.emit();
|
||||
this.toastService.successMessage('Publicaçao eliminada')
|
||||
|
||||
} catch (error) {
|
||||
this.toastService.badRequest('Publicaçao não eliminado')
|
||||
this.toastService.badRequest('Publicaçao não eliminada')
|
||||
} finally {
|
||||
loader.remove()
|
||||
}
|
||||
this.goBack();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user