diff --git a/frontend/src/components/Activities/Activities.vue b/frontend/src/components/Activities/Activities.vue index 4f24f3ce..3fe1569a 100644 --- a/frontend/src/components/Activities/Activities.vue +++ b/frontend/src/components/Activities/Activities.vue @@ -67,13 +67,7 @@ v-else-if="title == 'Tasks'" class="px-3 pb-3 sm:px-10 sm:pb-5 overflow-x-auto sm:w-full w-max" > - +
@@ -104,19 +98,14 @@
-
-
-
- -
-
+
+
-
-
+
+
- - -
-
-
- {{ attachment.file_name }} -
-
- {{ convertSize(attachment.file_size) }} -
-
-
-
- -
- {{ __(timeAgo(attachment.creation)) }} -
-
-
- - - - - - + +
+
+
+ {{ attachment.file_name }} +
+
+ {{ convertSize(attachment.file_size) }} +
+
+
+
+ +
+ {{ __(timeAgo(attachment.creation)) }} +
+
+
+ + + + + + +
+
+
@@ -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 @@