Skip to content

Commit 31a2194

Browse files
committed
NXT-4577: Allow bendpoint deletion during execution
NXT-4577 (Allow bendpoint deletion when connection cannot be deleted due to executing successors)
1 parent 927ba41 commit 31a2194

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

org.knime.ui.js/src/store/workflow/workflow.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,10 @@ export const useWorkflowStore = defineStore("workflow", {
127127
const deleteableBendpoints = Object.keys(connectionBendpoints).reduce(
128128
(acc, connectionId) => {
129129
const connection = this.activeWorkflow!.connections[connectionId];
130-
return connection.allowedActions?.canDelete
131-
? {
132-
...acc,
133-
[connectionId]: connectionBendpoints[connectionId],
134-
}
135-
: acc;
130+
return {
131+
...acc,
132+
[connectionId]: connectionBendpoints[connectionId],
133+
};
136134
},
137135
{},
138136
);

test

Whitespace-only changes.

0 commit comments

Comments
 (0)