mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00: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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user