We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa0b07 commit 1a243b6Copy full SHA for 1a243b6
webview/src/plots/components/comparisonTable/cell/ComparisonTableMultiCell.tsx
@@ -30,7 +30,10 @@ export const ComparisonTableMultiCell: React.FC<{
30
useEffect(() => {
31
window.clearTimeout(changeDebounceTimer.current)
32
changeDebounceTimer.current = window.setTimeout(() => {
33
- if (currentStep === values?.[plot.id]?.[path]) {
+ const isOnMount =
34
+ values?.[plot.id]?.[path] === undefined && currentStep === 0
35
+ const stepMatchesState = currentStep === values?.[plot.id]?.[path]
36
+ if (isOnMount || stepMatchesState) {
37
return
38
}
39
setComparisonMultiPlotValue(path, plot.id, currentStep)
0 commit comments