Skip to content

Commit 968d7af

Browse files
committed
Fix missing discount label in checkout
Fix js static test (cherry picked from commit 0f36e0e)
1 parent 90d508b commit 968d7af

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,11 @@ define([
4747
/**
4848
* Get discount title
4949
*
50-
* @returns {null|string}
50+
* @returns {null|String}
5151
*/
5252
getTitle: function () {
5353
var discountSegments;
54+
5455
if (!this.totals()) {
5556
return null;
5657
}

0 commit comments

Comments
 (0)