diff --git a/frontend/src/components/tasks/partials/Description.vue b/frontend/src/components/tasks/partials/Description.vue index ea1f2ebe4..14512e9e5 100644 --- a/frontend/src/components/tasks/partials/Description.vue +++ b/frontend/src/components/tasks/partials/Description.vue @@ -48,13 +48,11 @@ import {useTaskStore} from '@/stores/tasks' export type AttachmentUploadFunction = (file: File, onSuccess: (attachmentUrl: string) => void) => Promise -const props = withDefaults(defineProps<{ +const props = defineProps<{ modelValue: ITask, attachmentUpload: AttachmentUploadFunction, canWrite: boolean, -}>(), { - canWrite: true, -}) +}>() const emit = defineEmits<{ 'update:modelValue': [value: ITask]