Ver Fonte

#270 show global data nodes (#290)

Co-authored-by: Fred Lefévère-Laoide <Fred.Lefevere-Laoide@Taipy.io>
Fred Lefévère-Laoide há 1 ano atrás
pai
commit
37c7adffb8
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/taipy/gui_core/GuiCoreLib.py

+ 1 - 1
src/taipy/gui_core/GuiCoreLib.py

@@ -427,7 +427,7 @@ class _GuiCoreContext(CoreEventConsumerBase):
     def get_datanodes_tree(self):
         with self.lock:
             self.__do_datanodes_tree()
-        return self.get_scenarios()
+        return self.data_nodes_by_owner.get(None, []) + self.get_scenarios()
 
     def data_node_adapter(self, data):
         if data and hasattr(data, "id") and core_get(data.id) is not None: