File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 66
66
<div class =" d-flex flex-wrap" >
67
67
<v-checkbox
68
68
class =" mr-2 mt-0 ScheduleCheckbox"
69
- v-for =" m in MONTHS" :key =" m.id"
69
+ v-for =" m in MONTHS"
70
+ :key =" m.id"
70
71
:value =" m.id"
71
72
:label =" m.title"
72
73
v-model =" months"
@@ -338,6 +339,11 @@ export default {
338
339
JSON .stringify (parser .parseExpression (this .item .cron_format ).fields ),
339
340
);
340
341
342
+ this .months = [];
343
+ this .weekdays = [];
344
+ this .hours = [];
345
+ this .minutes = [];
346
+
341
347
if (this .isHourly (this .item .cron_format )) {
342
348
this .minutes = fields .minute ;
343
349
this .timing = ' hourly' ;
@@ -356,7 +362,6 @@ export default {
356
362
this .weekdays = fields .dayOfWeek ;
357
363
this .timing = ' weekly' ;
358
364
} else {
359
- this .months = [];
360
365
this .weekdays = [];
361
366
}
362
367
@@ -365,7 +370,6 @@ export default {
365
370
this .timing = ' monthly' ;
366
371
} else {
367
372
this .months = [];
368
- this .weekdays = [];
369
373
}
370
374
371
375
if (this .isYearly (this .item .cron_format )) {
You can’t perform that action at this time.
0 commit comments