Bug #400 Al eliminar un pedido no te dice que ha sido eliminado

This commit is contained in:
gerard 2018-07-12 12:55:31 +02:00
parent 755e0c1360
commit b8fe5500a1
1 changed files with 2 additions and 1 deletions

View File

@ -118,7 +118,8 @@ class Controller {
deleteTicket() {
let params = {id: this.$state.params.id};
this.$http.post(`/ticket/api/Tickets/deleted`, params).then(() => {
this.$state.go('ticket.list');
this.$state.go('ticket.index');
this.vnApp.showSuccess(this.translate.instant('Ticket deleted'));
});
}
// Remove Lines