mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
🐛 Fix issue with default values in combination with displayOptions
This commit is contained in:
@@ -198,8 +198,7 @@ export default mixins(showMessage, nodeHelpers).extend({
|
|||||||
if (this.credentialType) {
|
if (this.credentialType) {
|
||||||
for (const property of this.credentialType.properties) {
|
for (const property of this.credentialType.properties) {
|
||||||
if (!this.credentialData.hasOwnProperty(property.name)) {
|
if (!this.credentialData.hasOwnProperty(property.name)) {
|
||||||
this.credentialData[property.name] =
|
Vue.set(this.credentialData, property.name, property.default as CredentialInformation);
|
||||||
property.default as CredentialInformation;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user