@datatechsolutions/ui 2.11.47 → 2.11.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5706,9 +5706,7 @@ function LogicNodeModal({ onSave, entities = [], datasources = [], onLoadTables,
5706
5706
  return /* @__PURE__ */ jsxRuntime.jsx(ListOperatorNodeConfigForm, { config, onSave: handleSave, onCancel: closeModal });
5707
5707
  case "iteration_start":
5708
5708
  return /* @__PURE__ */ jsxRuntime.jsx(IterationStartNodeConfigForm, { config, onSave: handleSave, onCancel: closeModal });
5709
- case "datasource":
5710
- return null;
5711
- // Datasource uses its own GlassModal with sidebar — rendered separately
5709
+ // datasource — handled by standalone DatasourceNodeConfigForm in WorkflowCanvas
5712
5710
  case "entity":
5713
5711
  return /* @__PURE__ */ jsxRuntime.jsx(EntityNodeConfigForm, { config, entities, onSave: handleSave, onCancel: closeModal });
5714
5712
  case "group":
@@ -6218,13 +6216,12 @@ function WorkflowCanvasInner({
6218
6216
  const handleEditLogicNode = react.useCallback((nodeId) => {
6219
6217
  setEditingLogicNodeId(nodeId);
6220
6218
  const node = getNode(nodeId);
6221
- if (node) {
6222
- const nodeData = node.data;
6223
- const config = nodeData.config;
6224
- if (config) {
6225
- openLogicNodeModalAction(nodeId, nodeData.label ?? "", config);
6226
- }
6227
- }
6219
+ if (!node) return;
6220
+ const nodeData = node.data;
6221
+ const config = nodeData.config;
6222
+ if (!config) return;
6223
+ if (config.type === "datasource") return;
6224
+ openLogicNodeModalAction(nodeId, nodeData.label ?? "", config);
6228
6225
  }, [getNode, openLogicNodeModalAction]);
6229
6226
  const agentMap = react.useMemo(() => {
6230
6227
  const map = /* @__PURE__ */ new Map();
@@ -7893,5 +7890,5 @@ exports.useModalStore = useModalStore;
7893
7890
  exports.useWorkflowBuilderClient = useWorkflowBuilderClient;
7894
7891
  exports.useWorkflowBuilderClientOptional = useWorkflowBuilderClientOptional;
7895
7892
  exports.useWorkflowStore = useWorkflowStore;
7896
- //# sourceMappingURL=chunk-5KDFTL4I.js.map
7897
- //# sourceMappingURL=chunk-5KDFTL4I.js.map
7893
+ //# sourceMappingURL=chunk-BN5S4O4N.js.map
7894
+ //# sourceMappingURL=chunk-BN5S4O4N.js.map