Dashboard: Forces panel re-render when exiting panel edit (#38913)

This commit is contained in:
Hugo Häggmark 2021-09-07 12:46:21 +02:00 committed by GitHub
parent a7c367968c
commit 8826540c09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,6 +128,7 @@ export function exitPanelEditor(): ThunkResult<void> {
// But do this after the panel edit editor exit process has completed
setTimeout(() => {
sourcePanel.getQueryRunner().useLastResultFrom(panel.getQueryRunner());
sourcePanel.render();
}, 20);
}