PanelChrome: Fix issue with empty panel after adding a non data panel and coming back from panel edit (#34765)

* PanelChrome: Fix issue with empty panel after adding a non data panel and coming back from panel edit

* Removed the console.log
This commit is contained in:
Torkel Ödegaard
2021-05-27 12:19:06 +02:00
committed by GitHub
parent 67028af99e
commit ca79d08dd8
2 changed files with 12 additions and 2 deletions

View File

@@ -49,6 +49,7 @@ export function discardPanelChanges(): ThunkResult<void> {
dispatch(setDiscardChanges(true));
};
}
export function exitPanelEditor(): ThunkResult<void> {
return async (dispatch, getStore) => {
const dashboard = getStore().dashboard.getModel();