Skip to content

Commit 2dff02b

Browse files
committed
MC-401: Advanced Attributes Not Removing From Preview
- Add missing radix parameter to pass tslint
1 parent b1566a3 commit 2dff02b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/row/converter/style/margins-and-paddings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default class MarginsAndPaddings implements ConverterInterface {
3131
result.marginLeft = value.margin.left ? value.margin.left + "px" : "";
3232
result.marginTop = value.margin.top ? value.margin.top + "px" : "";
3333
result.marginRight = value.margin.right ? value.margin.right + "px" : "";
34-
result.marginBottom = (parseInt(value.margin.bottom) > 0 ? value.margin.bottom : 1) + "px";
34+
result.marginBottom = (parseInt(value.margin.bottom, 10) > 0 ? value.margin.bottom : 1) + "px";
3535
}
3636
if (undefined !== value && undefined !== value.padding) {
3737
result.paddingLeft = value.padding.left ? value.padding.left + "px" : "";

0 commit comments

Comments
 (0)