mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Forces panel re-render when exiting panel edit (#38913)
This commit is contained in:
@@ -128,6 +128,7 @@ export function exitPanelEditor(): ThunkResult<void> {
|
|||||||
// But do this after the panel edit editor exit process has completed
|
// But do this after the panel edit editor exit process has completed
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
sourcePanel.getQueryRunner().useLastResultFrom(panel.getQueryRunner());
|
sourcePanel.getQueryRunner().useLastResultFrom(panel.getQueryRunner());
|
||||||
|
sourcePanel.render();
|
||||||
}, 20);
|
}, 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user