Browse Source

#270 show global data nodes (#290)

Co-authored-by: Fred Lefévère-Laoide <Fred.Lefevere-Laoide@Taipy.io>
Fred Lefévère-Laoide 1 năm trước cách đây
mục cha
commit
37c7adffb8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: