From b103a89c611fadb076a55ddd694063cf1870a638 Mon Sep 17 00:00:00 2001 From: Christopher Byrd Date: Wed, 5 Jul 2023 14:12:14 -0700 Subject: [PATCH] updates labelbasedgraph to handle provisional edits #9715 --- arches/app/utils/label_based_graph_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arches/app/utils/label_based_graph_v2.py b/arches/app/utils/label_based_graph_v2.py index d6a17c250aa..67245ce3f72 100644 --- a/arches/app/utils/label_based_graph_v2.py +++ b/arches/app/utils/label_based_graph_v2.py @@ -305,7 +305,7 @@ def _get_display_value(cls, tile, serialized_node, datatype_factory): # if the serialized_node is unable to collect data, let's explicitly say so if datatype_factory.datatypes[serialized_node["datatype"]].defaultwidget is None: display_value = NON_DATA_COLLECTING_NODE - elif tile.data: + elif tile.data or tile.provisionaledits: datatype = datatype_factory.get_instance(serialized_node["datatype"]) node_copy = copy.deepcopy(serialized_node)