diff --git a/src/components/tasks/partials/repeatAfter.vue b/src/components/tasks/partials/repeatAfter.vue index d957f1f9..da9caed6 100644 --- a/src/components/tasks/partials/repeatAfter.vue +++ b/src/components/tasks/partials/repeatAfter.vue @@ -90,6 +90,10 @@ export default { }, methods: { updateData() { + if (this.task.repeatMode !== repeatModes.REPEAT_MODE_DEFAULT && this.repeatAfter.amount === 0) { + return + } + this.task.repeatAfter = this.repeatAfter this.$emit('input', this.task) this.$emit('change')