fix: direct state mutation when adding another reminder to a task

This commit is contained in:
kolaente 2022-05-15 22:19:29 +02:00
parent 138b06752f
commit 44dc8983c8
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -66,7 +66,7 @@ const emit = defineEmits(['update:modelValue', 'change'])
const reminders = ref<Reminder[]>([])
onMounted(() => {
reminders.value = props.modelValue
reminders.value = [...props.modelValue]
})
watch(