diff --git a/front/src/components/library/FileUpload.vue b/front/src/components/library/FileUpload.vue index 17794c8a8..f557f5ac7 100644 --- a/front/src/components/library/FileUpload.vue +++ b/front/src/components/library/FileUpload.vue @@ -82,6 +82,8 @@ const options = { const privacyLevel = defineModel({ required: true }) +const library = ref() + // New implementation with `useClient`: watch(privacyLevel, (newValue) => @@ -99,7 +101,6 @@ watch(privacyLevel, (newValue) => // Old implementation: /* -const library = ref() watch(privacyLevel, async(newValue) => { try { const response = await axios.get('libraries/', { params: {