Merge branch 'developer' of bitbucket.org:equilibriumito/gabinete-digital into developer

This commit is contained in:
Peter Maquiran
2021-08-24 16:36:56 +01:00
@@ -104,16 +104,14 @@ export class PublicationDetailPage implements OnInit {
try { try {
await this.publications.DeletePublication(this.folderId, this.publicationId).toPromise(); await this.publications.DeletePublication(this.folderId, this.publicationId).toPromise();
this.toastService.successMessage('Publicaçao eliminado') this.toastService.successMessage('Publicaçao eliminada')
this.close();
//this.goBackToViewPublications.emit();
} catch (error) { } catch (error) {
this.toastService.badRequest('Publicaçao não eliminado') this.toastService.badRequest('Publicaçao não eliminada')
} finally { } finally {
loader.remove() loader.remove()
} }
this.goBack();
} }