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 Nov 27, 2024
1 parent 2775089 commit a0f88d9
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 a0f88d9

Please sign in to comment.