diff --git a/v3/src/components/graph/hooks/use-dot-plot-drag-drop.ts b/v3/src/components/graph/hooks/use-dot-plot-drag-drop.ts index 9c27584c3..3c3e4e74a 100644 --- a/v3/src/components/graph/hooks/use-dot-plot-drag-drop.ts +++ b/v3/src/components/graph/hooks/use-dot-plot-drag-drop.ts @@ -43,7 +43,7 @@ export const useDotPlotDragDrop = () => { // Record the current values, so we can change them during the drag and restore them when done const {selection} = dataConfig || {} selection?.forEach((anID: string) => { - const itsValue = dataDisplayGetNumericValue(dataset, anID, primaryAttrID) || undefined + const itsValue = dataDisplayGetNumericValue(dataset, anID, primaryAttrID) ?? undefined if (itsValue != null) { selectedDataObjects.current[anID] = itsValue }