mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user