Skip to content

Commit c06db23

Browse files
author
Oleksandr Dubovyk
committed
MC-38576 Apply default quantity for Bundle product options when there is large amount of options
- static failure new lines
1 parent 09b41ae commit c06db23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/code/Magento/Bundle/view/adminhtml/web/js/components/bundle-option-qty.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ define([
2222
*/
2323
setInitialValue: function () {
2424
this.initialValue = this.getInitialValue();
25+
2526
if (this.initialValue === undefined || this.initialValue === '') {
2627
this.initialValue = 1;
2728
}
@@ -32,6 +33,7 @@ define([
3233

3334
this.on('value', this.onUpdate.bind(this));
3435
this.isUseDefault(this.disabled());
36+
3537
return this;
3638
},
3739

0 commit comments

Comments
 (0)