Skip to content

Commit fb70872

Browse files
ENGCOM-2151: 2.3 develop #16462
2 parents fe542e1 + 2ca1182 commit fb70872

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/SalesRule/view/frontend/web/js/view/summary

1 file changed

+1
-1
lines changed

app/code/Magento/SalesRule/view/frontend/web/js/view/summary/discount.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ define([
5757
}
5858

5959
discountSegments = this.totals()['total_segments'].filter(function (segment) {
60-
return segment.code === 'discount';
60+
return segment.code.indexOf('discount') !== -1;
6161
});
6262

6363
return discountSegments.length ? discountSegments[0].title : null;

0 commit comments

Comments
 (0)