Skip to content

Commit f33ea9a

Browse files
committed
MC-2422: [Architecture] Additional Renames
- Update Tabs event name that was missed
1 parent 12033bc commit f33ea9a

File tree

2 files changed

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

2 files changed

+3
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/js/content-type/tabs/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/tabs/preview.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import OptionInterface from "../../content-type-menu/option.d";
2020
import ContentTypeRemovedParamsInterface from "../../content-type-removed-params.d";
2121
import ContentTypeInterface from "../../content-type.d";
2222
import {DataObject} from "../../data-store";
23+
import ContentTypeAfterRenderEventParamsInterface from "../content-type-after-render-event-params";
2324
import ContentTypeDuplicateEventParamsInterface from "../content-type-duplicate-event-params";
2425
import ContentTypeMountEventParamsInterface from "../content-type-mount-event-params.d";
2526
import ContentTypeRemovedEventParamsInterface from "../content-type-removed-event-params.d";
@@ -67,7 +68,7 @@ export default class Preview extends PreviewCollection {
6768
) {
6869
super(parent, config, observableUpdater);
6970

70-
events.on("tabs:afterRender", (args: ContentTypeAfterRenderEventParamsInterface) => {
71+
events.on("tabs:renderAfter", (args: ContentTypeAfterRenderEventParamsInterface) => {
7172
if (args.id === this.parent.id && this.element) {
7273
this.buildTabs();
7374
}

0 commit comments

Comments
 (0)