@lancom/shared 0.0.153 → 0.0.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,7 +22,7 @@ export function convertQuoteToOrder(quote, option) {
22
22
  revision: null,
23
23
  note: null,
24
24
  type: 'Artwork Files',
25
- file: f.file
25
+ file: f.file || f
26
26
  }))
27
27
  };
28
28
  }
@@ -46,6 +46,11 @@
46
46
  @next="submit" />
47
47
  </div>
48
48
  <div v-else>
49
+ <div
50
+ v-if="isFailedOrderCharge"
51
+ class="OrderPaymentInformation__error mb-8">
52
+ {{ errorMessage }}
53
+ </div>
49
54
  <payment-cart
50
55
  ref="paymentCart"
51
56
  :amount="cartPricing.totalPrice"
@@ -116,6 +121,7 @@ export default {
116
121
  }).join('</p><p>')}</p>`;
117
122
  },
118
123
  async submit() {
124
+ this.errorMessage = null;
119
125
  if (this.isDepositPayment) {
120
126
  this.setCard(null);
121
127
  this.submitOrder();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.153",
3
+ "version": "0.0.154",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {