diff --git a/public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx b/public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx index 77e03416fb7..1787ff5db20 100644 --- a/public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx +++ b/public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx @@ -218,6 +218,9 @@ export class PanelEditorUnconnected extends PureComponent { onDisplayModeChange = (mode?: DisplayMode) => { const { updatePanelEditorUIState } = this.props; + if (this.props.tableViewEnabled) { + this.props.toggleTableView(); + } updatePanelEditorUIState({ mode: mode, });