@@ -713,7 +713,7 @@ Vue.component('order-form',{ | |||
data.append('idUser', this.order.id_user) ; | |||
data.append('username', ''+this.order.username) ; | |||
data.append('products', JSON.stringify(this.order.productOrder)) ; | |||
data.append('comment', this.order.comment) ; | |||
data.append('comment', this.order.comment && this.order.comment.length ? this.order.comment : '') ; | |||
data.append('processCredit', processCredit) ; | |||
axios.post(UrlManager.getBaseUrlAbsolute()+"order/ajax-update",data) |