Skip to content

Commit 3eeaf9d

Browse files
author
Bohdan Korablov
committed
MAGETWO-46646: Validate Quantity fields depends to "Qty Uses Decimals" Option
1 parent 94048fe commit 3eeaf9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/view/adminhtml/web/js/components/qty-validator-changer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ define([
1717
* Change validator
1818
*/
1919
handleChanges: function (value) {
20-
var isDigits = value !==1;
20+
var isDigits = value !== 1;
2121

2222
this.validation['validate-number'] = !isDigits;
2323
this.validation['validate-digits'] = isDigits;

0 commit comments

Comments
 (0)