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)" (elastic#201902)

This reverts commit 289bb16.
  • Loading branch information
jbudz authored and CAWilson94 committed Dec 12, 2024
1 parent b40d5d4 commit 0340851
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 0340851

Please sign in to comment.