Bug #400 Al eliminar un pedido no te dice que ha sido eliminado
This commit is contained in:
parent
755e0c1360
commit
b8fe5500a1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue