mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix(Schedule trigger Node): fix the interval order chronologically (#4373)
* ✨ Create Schedule node with MVP structure * ✨ Add 24 increments for hours picker * 🚨 Lintfix * Add timestamp, add hour minute and cron expression * Fix bug where there was one extra interval object * Fix default value from fixedCollection * 🐛 UI fixes * 🎨 Changed logic to reflect UI fixes * Fix auto intitialising * Deprecated interval and cron in favor of schedule node * 🐛 Ui fixes * 🐛 Fix issue with week intervals * 🚨 Lint fixes * change order of days in the week to chronological order * 🎨 change the order of the interval to chronological * 🔥 delete schedule unused svg
This commit is contained in:
parent
161cca9494
commit
db46f07e5d
|
@ -64,33 +64,33 @@ export class ScheduleTrigger implements INodeType {
|
||||||
default: 'days',
|
default: 'days',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Custom (Cron)',
|
name: 'Seconds',
|
||||||
value: 'cronExpression',
|
value: 'seconds',
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Days',
|
|
||||||
value: 'days',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'Hours',
|
|
||||||
value: 'hours',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Minutes',
|
name: 'Minutes',
|
||||||
value: 'minutes',
|
value: 'minutes',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Months',
|
name: 'Hours',
|
||||||
value: 'months',
|
value: 'hours',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Seconds',
|
name: 'Days',
|
||||||
value: 'seconds',
|
value: 'days',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Weeks',
|
name: 'Weeks',
|
||||||
value: 'weeks',
|
value: 'weeks',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Months',
|
||||||
|
value: 'months',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Custom (Cron)',
|
||||||
|
value: 'cronExpression',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue