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" />
+