Skip to content

Commit

Permalink
Merge pull request #2949 in NEXT/platform from next-700/2437-discount…
Browse files Browse the repository at this point in the history
…s-loading-indicator-default-value to 6.0-dp

* commit 'af440cf57aa34c3f50406d2d9cf235be3a8d2a81':
  SCD NEXT-2437 Promotion discounts: added loading indicator and default value
  • Loading branch information
Phil23 committed May 15, 2019
2 parents 205bdaa + af440cf commit c0db484
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -17,7 +17,7 @@ Component.register('sw-promotion-detail-discounts', {
data() {
return {
discounts: [],
isLoading: false,
isLoading: true,
deleteDiscountId: null,
repository: null
};
Expand Down Expand Up @@ -64,7 +64,7 @@ Component.register('sw-promotion-detail-discounts', {
newDiscount.promotionId = this.promotion.id;
newDiscount.scope = DiscountScopes.CART;
newDiscount.type = DiscountTypes.PERCENTAGE;
newDiscount.value = 0;
newDiscount.value = 0.01;
newDiscount.considerAdvancedRules = false;

this.promotion.discounts.push(newDiscount);
Expand Down

0 comments on commit c0db484

Please sign in to comment.