Skip to content

Commit

Permalink
Merge branch 'main' into feat-1885-workflow-validators-enhance
Browse files Browse the repository at this point in the history
  • Loading branch information
rajesh-jonnalagadda authored Sep 19, 2024
2 parents d7274b2 + 879ce15 commit e3eacba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions keep-ui/app/workflows/builder/builder-store.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ const useStore = create<FlowState>((set, get) => ({
});
}
},
setV2Properties: (properties) => set({ v2Properties: properties }),
setV2Properties: (properties) => set({ v2Properties: properties, canDeploy:false }),
updateV2Properties: (properties) => {
const updatedProperties = { ...get().v2Properties, ...properties };
set({ v2Properties: updatedProperties, changes: get().changes + 1 });
set({ v2Properties: updatedProperties, changes: get().changes + 1, canDeploy:false });
},
setSelectedNode: (id) => {
set({
Expand Down
2 changes: 1 addition & 1 deletion keep-ui/app/workflows/builder/editors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ function WorkflowEditorV2({
}
value={properties[key] || ""as string}
/>);
case "isabled":
case "disabled":
return (
<div key={key}>
<input
Expand Down

0 comments on commit e3eacba

Please sign in to comment.