diff --git a/frontend/src/components/input/editor/TipTap.vue b/frontend/src/components/input/editor/TipTap.vue index ebdb84352..0530df11b 100644 --- a/frontend/src/components/input/editor/TipTap.vue +++ b/frontend/src/components/input/editor/TipTap.vue @@ -184,13 +184,13 @@ import {setLinkInEditor} from '@/components/input/editor/setLinkInEditor' const { modelValue, uploadCallback, - isEditEnabled, - bottomActions, - showSave, - placeholder, - editShortcut, - enableDiscardShortcut, -} = withDefaults(defineProps<{ + isEditEnabled = true, + bottomActions = [], + showSave = false, + placeholder = '', + editShortcut = '', + enableDiscardShortcut = false, +} = defineProps<{ modelValue: string, uploadCallback?: UploadCallback, isEditEnabled?: boolean, @@ -199,14 +199,7 @@ const { placeholder?: string, editShortcut?: string, enableDiscardShortcut?: boolean, -}>(), { - isEditEnabled: true, - bottomActions: () => [], - showSave: false, - placeholder: '', - editShortcut: '', - enableDiscardShortcut: false, -}) +}>() const emit = defineEmits(['update:modelValue', 'save']) diff --git a/frontend/src/components/tasks/partials/Comments.vue b/frontend/src/components/tasks/partials/Comments.vue index 15a845ec3..f3aa84f46 100644 --- a/frontend/src/components/tasks/partials/Comments.vue +++ b/frontend/src/components/tasks/partials/Comments.vue @@ -158,7 +158,6 @@ !isCommentEdit, }" :upload-callback="attachmentUpload" - :upload-enabled="true" :placeholder="$t('task.comment.placeholder')" @save="addComment()" />