diff --git a/src/components/tasks/partials/repeatAfter.vue b/src/components/tasks/partials/repeatAfter.vue index 6d779031..fe030017 100644 --- a/src/components/tasks/partials/repeatAfter.vue +++ b/src/components/tasks/partials/repeatAfter.vue @@ -61,7 +61,7 @@ import TaskModel from '@/models/task' const props = defineProps({ modelValue: { - default: () => {}, + default: () => ({}), required: true, }, disabled: { @@ -72,7 +72,7 @@ const props = defineProps({ const emit = defineEmits(['update:modelValue', 'change']) -const task = ref({}) +const task = ref() const repeatAfter = reactive({ amount: 0, type: '',