-
+
+
-
![]()
-
-
-
-
- {{ attachment.file_name }}
-
-
- {{ convertSize(attachment.file_size) }}
-
-
-
-
-
-
- {{ __(timeAgo(attachment.creation)) }}
-
-
-
-
-
+
+
+
+ {{ __(timeAgo(attachment.creation)) }}
+
+
+
+
+
+
+
+
+
+ deleteAttachment(attachment.name)"
+ >
+
+
+
+
+
+
@@ -72,15 +88,15 @@ import {
} from '@/utils'
const props = defineProps({
- attachment: Object,
+ attachments: Array,
})
const emit = defineEmits(['reload'])
const { $dialog } = globalStore()
-function openFile() {
- window.open(props.attachment.file_url, '_blank')
+function openFile(attachment) {
+ window.open(attachment.file_url, '_blank')
}
function togglePrivate(fileName, isPrivate) {
diff --git a/frontend/src/components/Activities/TaskArea.vue b/frontend/src/components/Activities/TaskArea.vue
index 526271ae..b8d2fae8 100644
--- a/frontend/src/components/Activities/TaskArea.vue
+++ b/frontend/src/components/Activities/TaskArea.vue
@@ -1,6 +1,6 @@