refactor(editor): Refine INodeUpdatePropertiesInformation type and remove unnecessary type assertions (#17783)

This commit is contained in:
Suguru Inoue
2025-07-29 12:39:03 +02:00
committed by GitHub
parent 056302ebe5
commit 04c1121075
7 changed files with 10 additions and 30 deletions

View File

@@ -66,7 +66,6 @@ export const useSetupWorkflowCredentialsModalState = () => {
workflowsStore.updateNodeProperties({
name: node.name,
properties: {
position: node.position,
credentials: {
...node.credentials,
[usages.credentialType]: credential,
@@ -101,7 +100,6 @@ export const useSetupWorkflowCredentialsModalState = () => {
workflowsStore.updateNodeProperties({
name: node.name,
properties: {
position: node.position,
credentials,
},
});