From f5c1d40c673d5bc33da57793f5b3b66e44569df8 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Fri, 16 Sep 2022 00:16:26 +0200 Subject: [PATCH] feat: feat-attachments-script-setup --- src/{icons.ts => components/misc/Icon.ts} | 0 src/components/tasks/partials/attachments.vue | 505 ++++++++---------- src/components/tasks/partials/comments.vue | 9 +- src/helpers/attachments.ts | 5 +- src/main.ts | 2 +- src/models/taskComment.ts | 2 +- src/services/attachment.ts | 9 +- 7 files changed, 249 insertions(+), 283 deletions(-) rename src/{icons.ts => components/misc/Icon.ts} (100%) diff --git a/src/icons.ts b/src/components/misc/Icon.ts similarity index 100% rename from src/icons.ts rename to src/components/misc/Icon.ts diff --git a/src/components/tasks/partials/attachments.vue b/src/components/tasks/partials/attachments.vue index d8676d319..21337842f 100644 --- a/src/components/tasks/partials/attachments.vue +++ b/src/components/tasks/partials/attachments.vue @@ -8,19 +8,19 @@ {{ attachmentService.uploadProgress }}% @@ -42,7 +42,7 @@ {{ formatDateSince(a.created) }} - {{ $t('misc.delete') }} @@ -86,7 +86,7 @@
@@ -110,270 +110,231 @@
- - - - - - - + + + + + - - - - - + + + + -