From f7c9d1d069d997be2a39caacacca7d24fa7d4773 Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 5 Jul 2023 00:59:50 +0200 Subject: [PATCH] stash --- frontend/src/components/CombinedFileField.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/CombinedFileField.vue b/frontend/src/components/CombinedFileField.vue index d22dfad..ef678f7 100644 --- a/frontend/src/components/CombinedFileField.vue +++ b/frontend/src/components/CombinedFileField.vue @@ -8,7 +8,7 @@ - Files +

Files

- + @@ -68,7 +68,6 @@ export default { methods: { ...mapActions(["fetchFiles", "pushFile"]), async uploadFiles() { - //const formData = new FormData(); const files = document.getElementById("files").files; for (let i = 0; i < files.length; i++) { var reader = new FileReader(); @@ -96,10 +95,8 @@ export default { }); await this.fetchFiles(); } - //console.log("formData", formData); }, async uploadPhoto() { - //const formData = new FormData(); const files = document.getElementById("photos").files; for (let i = 0; i < files.length; i++) { var reader = new FileReader(); @@ -127,7 +124,6 @@ export default { }); await this.fetchFiles(); } - //console.log("formData", formData); }, }, mounted() {