diff --git a/webview/src/plots/components/comparisonTable/cell/ComparisonTableMultiCell.tsx b/webview/src/plots/components/comparisonTable/cell/ComparisonTableMultiCell.tsx index 0ddbc3b1db..cda03ca8ad 100644 --- a/webview/src/plots/components/comparisonTable/cell/ComparisonTableMultiCell.tsx +++ b/webview/src/plots/components/comparisonTable/cell/ComparisonTableMultiCell.tsx @@ -30,7 +30,10 @@ export const ComparisonTableMultiCell: React.FC<{ useEffect(() => { window.clearTimeout(changeDebounceTimer.current) changeDebounceTimer.current = window.setTimeout(() => { - if (currentStep === values?.[plot.id]?.[path]) { + const isOnMount = + values?.[plot.id]?.[path] === undefined && currentStep === 0 + const stepMatchesState = currentStep === values?.[plot.id]?.[path] + if (isOnMount || stepMatchesState) { return } setComparisonMultiPlotValue(path, plot.id, currentStep)