mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
🐛 Fix issue with default values in combination with displayOptions
This commit is contained in:
parent
f5991e17db
commit
a41afc8013
|
@ -198,8 +198,7 @@ export default mixins(showMessage, nodeHelpers).extend({
|
|||
if (this.credentialType) {
|
||||
for (const property of this.credentialType.properties) {
|
||||
if (!this.credentialData.hasOwnProperty(property.name)) {
|
||||
this.credentialData[property.name] =
|
||||
property.default as CredentialInformation;
|
||||
Vue.set(this.credentialData, property.name, property.default as CredentialInformation);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue