Skip to content

Commit

Permalink
Revert "[dashboard] fix Reset dashboard breaks panel state when ran a…
Browse files Browse the repository at this point in the history
…fter editor edits (elastic#201687)"

This reverts commit 289bb16.
  • Loading branch information
jbudz committed Nov 27, 2024
1 parent 2775089 commit b598e0b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ export const initializeDashboard = async ({
hidePanelTitles: panelToUpdate.explicitInput.hidePanelTitles,
};
if (embeddableService.reactEmbeddableRegistryHasKey(incomingEmbeddable.type)) {
panelToUpdate.explicitInput = { id: panelToUpdate.explicitInput.id };
runtimePanelsToRestore[incomingEmbeddable.embeddableId] = nextRuntimeState;
} else {
panelToUpdate.explicitInput = nextRuntimeState;
Expand Down

0 comments on commit b598e0b

Please sign in to comment.