Skip to content

Commit 6ee4d26

Browse files
authored
backport 86480 to before deangularization (#86540)
1 parent 8799013 commit 6ee4d26

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/plugins/dashboard/public/application/dashboard_app_controller.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -981,10 +981,7 @@ export class DashboardAppController {
981981
if (!factory) {
982982
throw new EmbeddableFactoryNotFoundError(type);
983983
}
984-
const explicitInput = await factory.getExplicitInput();
985-
if (dashboardContainer) {
986-
await dashboardContainer.addNewEmbeddable(type, explicitInput);
987-
}
984+
await factory.create({} as EmbeddableInput, dashboardContainer);
988985
};
989986

990987
navActions[TopNavIds.OPTIONS] = (anchorElement) => {

0 commit comments

Comments
 (0)