Skip to content

Commit a20481b

Browse files
committed
1652 client - When deleting the currently selected cluster element, keep the details panel open and switch focus to the main root (not close the panel).
1 parent 09307c5 commit a20481b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/pages/platform/workflow-editor/utils/handleDeleteTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export default function handleDeleteTask({
227227
});
228228

229229
if (currentNode?.name === data.name) {
230-
useWorkflowNodeDetailsPanelStore.getState().reset();
230+
useWorkflowNodeDetailsPanelStore.getState().setWorkflowNodeDetailsPanelOpen(true);
231231

232232
setCurrentNode({
233233
...rootClusterElementNodeData,

0 commit comments

Comments
 (0)