Merge branch 'feature/store' of github.com:logspace-ai/langflow into feature/store

This commit is contained in:
cristhianzl 2023-11-22 22:08:14 -03:00
commit 30cc5723bd
2 changed files with 6 additions and 4 deletions

View file

@ -84,7 +84,11 @@ export default function ParameterComponent({
let disabled =
reactFlowInstance
?.getEdges()
.some((edge) => edge.targetHandle === scapedJSONStringfy(id)) ?? false;
.some(
(edge) =>
edge.targetHandle ===
scapedJSONStringfy(proxy ? { ...id, proxy } : id)
) ?? false;
const { data: myData } = useContext(typesContext);

View file

@ -52,9 +52,7 @@ export default function SidebarDraggableComponent({
);
break;
case "delete":
deleteComponent(
display_name
);
deleteComponent(display_name);
break;
}
}