diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.scss b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.scss index d1a475249136f..33448c8de818c 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.scss +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.scss @@ -5,13 +5,6 @@ } } -.lnsChartSwitch__options { - .euiSelectableListItem__append { - display: flex; - align-items: center; - } -} - .lnsChartSwitch__summaryIcon { margin-right: $euiSizeS; transform: translateY(-1px); diff --git a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx index e30b95523c4c0..2ba0729b7679d 100644 --- a/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx +++ b/x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/chart_switch.tsx @@ -297,17 +297,11 @@ export const ChartSwitch = memo(function ChartSwitch(props: Props) { ), append: ( - - {v.showBetaBadge ? ( - - - - - - ) : null} + {v.selection.dataLoss !== 'nothing' ? ( ) : null} + {v.showBetaBadge ? ( + + + + + + ) : null} ), // Apparently checked: null is not valid for TS