Skip to content

Commit

Permalink
[dashboard] fix Reset dashboard breaks panel state when ran after edi…
Browse files Browse the repository at this point in the history
…tor edits
  • Loading branch information
nreese committed Nov 25, 2024
1 parent d3ee297 commit f4b59aa
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ 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 f4b59aa

Please sign in to comment.