From edc60c7c08d79a5cf8b72cb8074bdedf56119995 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 13 May 2025 21:43:37 +0200 Subject: [PATCH] chore: remove default value for prop in Description --- frontend/src/components/tasks/partials/Description.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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]