#608 order-create now redirects correctly yo the catalog

This commit is contained in:
Carlos Jimenez 2018-09-12 08:24:19 +02:00
parent 367604654c
commit ed3c775c04
1 changed files with 1 additions and 1 deletions

View File

@ -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));
});