Browse Source

chore(core): Clean up unused condition arg

Michael Bromley 5 years ago
parent
commit
657c4a2287

+ 4 - 2
packages/core/src/config/promotion/conditions/min-order-amount-condition.ts

@@ -6,9 +6,11 @@ export const minimumOrderAmount = new PromotionCondition({
     description: [{ languageCode: LanguageCode.en, value: 'If order total is greater than { amount }' }],
     description: [{ languageCode: LanguageCode.en, value: 'If order total is greater than { amount }' }],
     code: 'minimum_order_amount',
     code: 'minimum_order_amount',
     args: {
     args: {
-        amount: { type: 'int', config: { inputType: 'money' } },
+        amount: {
+            type: 'int',
+            ui: { component: 'currency-form-input' },
+        },
         taxInclusive: { type: 'boolean' },
         taxInclusive: { type: 'boolean' },
-        ids: { type: 'string', list: true },
     },
     },
     check(order, args) {
     check(order, args) {
         if (args.taxInclusive) {
         if (args.taxInclusive) {