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
No known key found for this signature in database
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(