chore: remove default value for prop in Description

This commit is contained in:
kolaente 2025-05-13 21:43:37 +02:00
parent 60fcc67fbe
commit edc60c7c08
1 changed files with 2 additions and 4 deletions

View File

@ -48,13 +48,11 @@ import {useTaskStore} from '@/stores/tasks'
export type AttachmentUploadFunction = (file: File, onSuccess: (attachmentUrl: string) => void) => Promise<string>
const props = withDefaults(defineProps<{
const props = defineProps<{
modelValue: ITask,
attachmentUpload: AttachmentUploadFunction,
canWrite: boolean,
}>(), {
canWrite: true,
})
}>()
const emit = defineEmits<{
'update:modelValue': [value: ITask]