From fec91dae2bb3e9d569e60f788930cebe343bf6df Mon Sep 17 00:00:00 2001 From: Matt Seddon Date: Wed, 12 Oct 2022 12:26:26 +1100 Subject: [PATCH] revert tooltip in order to split PR --- webview/src/experiments/components/table/CellRowActions.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/webview/src/experiments/components/table/CellRowActions.tsx b/webview/src/experiments/components/table/CellRowActions.tsx index 682449e468..a85368a9aa 100644 --- a/webview/src/experiments/components/table/CellRowActions.tsx +++ b/webview/src/experiments/components/table/CellRowActions.tsx @@ -110,11 +110,7 @@ export const CellRowActions: React.FC = ({ showSubRowStates={showSubRowStates} subRowsAffected={plotSelections} testId={'row-action-plot'} - tooltipContent={ - bulletColor - ? 'Click to Unplot\nTo open the plots view click the plot icon in the top left corner\nor use "DVC: Show Plots" from the command palette.' - : 'Click to Plot\nTo open the plots view click the plot icon in the top left corner\nor use "DVC: Show Plots" from the command palette.' - } + tooltipContent={getTooltipContent(!!bulletColor, 'Plot')} >