fix(core): Add empty credential value marker to show empty pw field (#6532)

add empty credential value marker to show empty pw field
This commit is contained in:
Michael Auerswald
2023-06-23 18:23:28 +02:00
committed by GitHub
parent d9ed0b31b5
commit 9294e2da3c
3 changed files with 22 additions and 6 deletions

View File

@@ -14,3 +14,7 @@ export const NODES_WITH_RENAMABLE_CONTENT = new Set([
'n8n-nodes-base.function',
'n8n-nodes-base.functionItem',
]);
// Arbitrary value to represent an empty credential value
export const CREDENTIAL_EMPTY_VALUE =
'__n8n_EMPTY_VALUE_7b1af746-3729-4c60-9b9b-e08eb29e58da' as const;