From c036563d4f3614aca35623126cb60808a58b3187 Mon Sep 17 00:00:00 2001 From: Remko Date: Tue, 13 Aug 2024 19:02:11 +0200 Subject: [PATCH] Cleanup --- src/modals/attachment/AddAttachmentModal.vue | 2 +- src/store/modules/publication.js | 2 +- src/views/publications/PublicationDetail.vue | 146 +++++++++---------- 3 files changed, 75 insertions(+), 75 deletions(-) diff --git a/src/modals/attachment/AddAttachmentModal.vue b/src/modals/attachment/AddAttachmentModal.vue index 9ca8f004..619cb6bb 100644 --- a/src/modals/attachment/AddAttachmentModal.vue +++ b/src/modals/attachment/AddAttachmentModal.vue @@ -117,7 +117,7 @@ export default { }, props: { dropFiles: { - type: Object, + type: Array, required: false, default: null, }, diff --git a/src/store/modules/publication.js b/src/store/modules/publication.js index 1f5c57c3..bbce3ef9 100644 --- a/src/store/modules/publication.js +++ b/src/store/modules/publication.js @@ -160,7 +160,7 @@ export const usePublicationStore = defineStore( }, setAttachmentFile(files) { this.attachmentFile = files - console.log('Files' + files) + console.log('Active attachment files set to ' + files) }, }, setPublicationList(publicationList) { diff --git a/src/views/publications/PublicationDetail.vue b/src/views/publications/PublicationDetail.vue index 7f7a858e..db1a1218 100644 --- a/src/views/publications/PublicationDetail.vue +++ b/src/views/publications/PublicationDetail.vue @@ -207,84 +207,83 @@ import { ref } from 'vue' Geen eigenschappen gevonden - +
-
-
-
- -

- Drag and drop files here to upload -

-
+
+
+
+ +

+ Drag and drop files here to upload +

-
- - - - - -
+
+
+ + + + +
-
+
Geen bijlagen gevonden
@@ -294,6 +293,7 @@ import { ref } from 'vue' appearance="dark" name="Bijlagen aan het laden" />
+