mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
🐛 Remove auto-adding fixed collection option (#2241)
* 🔥 Remove auto-adding fixed collection option * 🔥 Remove file from version control
This commit is contained in:
parent
4836a31714
commit
e84ce79d9b
|
@ -79,19 +79,6 @@ export default mixins(genericHelpers)
|
||||||
selectedOption: undefined,
|
selectedOption: undefined,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
const sectionKeys = Object.keys(this.values);
|
|
||||||
|
|
||||||
if (
|
|
||||||
this.parameter.required &&
|
|
||||||
(sectionKeys.length === 0 ||
|
|
||||||
(sectionKeys.length === 1 && this.values[sectionKeys[0]].length === 0))
|
|
||||||
) {
|
|
||||||
this.$nextTick(function () {
|
|
||||||
this.optionSelected(this.parameter.options[0].name);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
computed: {
|
||||||
getPlaceholderText (): string {
|
getPlaceholderText (): string {
|
||||||
return this.parameter.placeholder ? this.parameter.placeholder : 'Choose Option To Add';
|
return this.parameter.placeholder ? this.parameter.placeholder : 'Choose Option To Add';
|
||||||
|
|
Loading…
Reference in a new issue