From 72925fb93837f580eec178a76cba4cb43e9b200b Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Sat, 21 May 2022 00:16:29 +0200 Subject: [PATCH] fix: repeatAfter initial modelValue --- src/components/tasks/partials/repeatAfter.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: '',