Skip to content

Commit

Permalink
Bug in retreiving literal value to represent (#913)
Browse files Browse the repository at this point in the history
  • Loading branch information
FabienLelaquais authored Mar 1, 2024
1 parent a896e6b commit e7b5bce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/taipy/src/DataNodeViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,10 @@ const DataNodeViewer = (props: DataNodeViewerProps) => {

// Datanode data
const dtType = props.data && props.data[DatanodeDataProps.type];
const dtValue = (props.data && props.data[DatanodeDataProps.value]) ?? dtType == "float" ? null : undefined;
//3.0 const dtValue = (props.data && props.data[DatanodeDataProps.value]) ?? null : undefined;
const fleDtValue = props.data && props.data[DatanodeDataProps.value];
console.log(fleDtValue)
const dtValue = (props.data && props.data[DatanodeDataProps.value]) ?? ((dtType == "float") ? null : undefined);
const dtTabular = (props.data && props.data[DatanodeDataProps.tabular]) ?? false;
const dtError = props.data && props.data[DatanodeDataProps.error];
const [dataValue, setDataValue] = useState<RowValue | Date>();
Expand Down

0 comments on commit e7b5bce

Please sign in to comment.