fix: refs #244936 sale redirect catalog to lilium
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
a17e434df1
commit
30da83a88c
|
@ -387,9 +387,8 @@ class Controller extends Section {
|
|||
}
|
||||
|
||||
newOrderFromTicket() {
|
||||
this.$http.post(`Orders/newFromTicket`, {ticketFk: this.ticket.id}).then(res => {
|
||||
const path = this.$state.href('order.card.catalog', {id: res.data});
|
||||
window.open(path, '_blank');
|
||||
this.$http.post(`Orders/newFromTicket`, {ticketFk: this.ticket.id}).then(async res => {
|
||||
window.location.href = await this.vnApp.getUrl(`order/${res.data}/catalog`);
|
||||
|
||||
this.vnApp.showSuccess(this.$t('Order created'));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue