#608 order-create now redirects correctly yo the catalog
This commit is contained in:
parent
367604654c
commit
ed3c775c04
|
@ -74,7 +74,7 @@ class Controller {
|
|||
};
|
||||
this.$http.post(`order/api/Orders/new`, params).then(res => {
|
||||
this.vnApp.showSuccess(this.translate.instant('Data saved!'));
|
||||
this.$state.go("order.card.catalogue", {id: res.data});
|
||||
this.$state.go("order.card.catalog", {id: res.data});
|
||||
}).catch(e => {
|
||||
this.vnApp.showError(this.translate.instant(e.data.error.message));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue