Skip to content

Commit f41bc95

Browse files
committed
MC-4014: PageBuilder Performance Is Bad With Minimal Content
- Fix ValidateShowHideOnRowDefaultState test
1 parent 88e819b commit f41bc95

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/stage.js

Lines changed: 5 additions & 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/stage.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ export default class Stage {
8989
events.trigger(`stage:${ this.id }:readyAfter`, {stage: this});
9090
this.loading(false);
9191
this.initListeners();
92+
93+
// Ensure we complete an initial save of the data within the stage once we're ready
94+
events.trigger("stage:updateAfter", {stageId: this.id});
9295
}
9396

9497
/**

0 commit comments

Comments
 (0)