mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(editor): Refine INodeUpdatePropertiesInformation type and remove unnecessary type assertions (#17783)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user