From e7b5bced3ffb48c0db1b618bfb792f6507185f15 Mon Sep 17 00:00:00 2001 From: Fabien Lelaquais <86590727+FabienLelaquais@users.noreply.github.com> Date: Fri, 1 Mar 2024 15:22:43 +0100 Subject: [PATCH] Bug in retreiving literal value to represent (#913) --- frontend/taipy/src/DataNodeViewer.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/taipy/src/DataNodeViewer.tsx b/frontend/taipy/src/DataNodeViewer.tsx index e1703c8003..9576bd640d 100644 --- a/frontend/taipy/src/DataNodeViewer.tsx +++ b/frontend/taipy/src/DataNodeViewer.tsx @@ -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();