From 0fdfafaf506513aba8bfb5c78ed8a66d9cdd0340 Mon Sep 17 00:00:00 2001 From: Baptiste Dumoulin <91154604+Ptitbapt@users.noreply.github.com> Date: Fri, 16 Jun 2023 15:23:02 +0200 Subject: [PATCH] Update OpenHousesDetails.vue --- .../src/components/RessourcesComponents/OpenHousesDetails.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front-end/src/components/RessourcesComponents/OpenHousesDetails.vue b/front-end/src/components/RessourcesComponents/OpenHousesDetails.vue index 2c281d4b..10973566 100644 --- a/front-end/src/components/RessourcesComponents/OpenHousesDetails.vue +++ b/front-end/src/components/RessourcesComponents/OpenHousesDetails.vue @@ -144,7 +144,7 @@ const link = ref(''); // Function to post the data to the API const addDocument = async (id) => { // add verification if all the fields are filled - if (!name.value || !link.value || !base64String) { + if (!name.value || !link.value) { Swal.fire({ title: 'You have to fill all the fields', text: 'Please fill all the fields to add a new document',