Skip to content

Commit 210939a

Browse files
committed
MAGETWO-90441: Allow inline editing of Heading from stage
- fix test for confirmation modal
1 parent 3bd68b9 commit 210939a

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web

2 files changed

+2
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/preview.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ export default class Preview {
449449
if (JSON.stringify(field.default) !== fieldValue) {
450450
hasDataChanges = true;
451451
}
452-
} else if (field.default !== fieldValue && fieldValue !== "default") {
452+
} else if (field.default !== fieldValue) {
453453
hasDataChanges = true;
454454
}
455455
return;

0 commit comments

Comments
 (0)