mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
⚡ Add default polling interval (Poll trigger nodes) N8N-2874 (#2730)
* ⚡ added default polling interval to Poll trigger nodes * ⚡ added default value to polling triger
This commit is contained in:
parent
3cde6bd426
commit
aa3cbe5358
|
@ -83,6 +83,7 @@ export default mixins(genericHelpers)
|
|||
selectedOption: undefined,
|
||||
};
|
||||
},
|
||||
|
||||
computed: {
|
||||
getPlaceholderText (): string {
|
||||
const placeholder = this.$locale.nodeText().placeholder(this.parameter, this.path);
|
||||
|
|
|
@ -56,7 +56,7 @@ export function getSpecialNodeParameters(nodeType: INodeType): INodeProperties[]
|
|||
multipleValues: true,
|
||||
multipleValueButtonText: 'Add Poll Time',
|
||||
},
|
||||
default: {},
|
||||
default: { item: [{ mode: 'everyMinute' }] },
|
||||
description: 'Time at which polling should occur',
|
||||
placeholder: 'Add Poll Time',
|
||||
options: [
|
||||
|
@ -782,7 +782,6 @@ export function getNodeParameters(
|
|||
|
||||
if (Object.keys(collectionValues).length !== 0 || returnDefaults) {
|
||||
// Set only if value got found
|
||||
|
||||
if (returnDefaults) {
|
||||
// Set also when it has the default value
|
||||
if (collectionValues === undefined) {
|
||||
|
|
Loading…
Reference in a new issue