fix(task): repeat mode now saves correctly
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
5694b39489
commit
79ceaf6a2b
|
@ -56,7 +56,6 @@ const reminders = ref<ITaskReminder[]>([])
|
||||||
watch(
|
watch(
|
||||||
() => props.modelValue.reminders,
|
() => props.modelValue.reminders,
|
||||||
(newVal) => {
|
(newVal) => {
|
||||||
console.log('change', newVal)
|
|
||||||
reminders.value = newVal
|
reminders.value = newVal
|
||||||
},
|
},
|
||||||
{immediate: true, deep: true}, // deep watcher so that we get the resolved date after updating the task
|
{immediate: true, deep: true}, // deep watcher so that we get the resolved date after updating the task
|
||||||
|
|
|
@ -185,11 +185,8 @@
|
||||||
<repeat-after
|
<repeat-after
|
||||||
:disabled="!canWrite"
|
:disabled="!canWrite"
|
||||||
:ref="e => setFieldRef('repeatAfter', e)"
|
:ref="e => setFieldRef('repeatAfter', e)"
|
||||||
:model-value="task"
|
v-model="task"
|
||||||
@update:model-value="(newTask) => {
|
@update:model-value="saveTask()"
|
||||||
Object.assign(task, newTask)
|
|
||||||
saveTask()
|
|
||||||
}"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</CustomTransition>
|
</CustomTransition>
|
||||||
|
|
Reference in New Issue