This commit is contained in:
Peter Maquiran
2021-09-29 16:01:24 +01:00
parent 4c559e3f7f
commit f6970c4d10
2 changed files with 3 additions and 3 deletions
@@ -62,7 +62,7 @@
<ion-toolbar class="footer-toolbar">
<ion-buttons slot="start">
<button class="btn-delete" fill="clear" color="#ffe0e0" (click)="deletePost()">
<ion-label>Eliminar::.</ion-label>
<ion-label>Eliminar</ion-label>
</button>
</ion-buttons>
<ion-buttons slot="end">
@@ -95,7 +95,7 @@ export class PublicationDetailPage implements OnInit {
if(this.isModal) {
this.close()
} else {
alert('go back')
// alert('go back')
this.location.back();
}
@@ -112,7 +112,7 @@ export class PublicationDetailPage implements OnInit {
if(window['app-view-publications-page-doRefresh']) {
window['app-view-publications-page-doRefresh']()
}
this.goBack();
} catch (error) {
this.toastService.badRequest('Publicaçao não eliminada')