Added Reloaded after File Upload

Change selection for Images
This commit is contained in:
2025-01-07 12:03:14 +01:00
parent 96184e4853
commit af38afc5b5
5 changed files with 16 additions and 2 deletions

View File

@@ -11,6 +11,8 @@ const props = defineProps({
const {type, elementId} = props
const emit = defineEmits(["uploadFinished"])
const dataStore = useDataStore()
const profileStore = useProfileStore()
@@ -43,6 +45,7 @@ const uploadFiles = async () => {
uploadModalOpen.value = false;
uploadInProgress.value = false;
emit("uploadFinished")
}
</script>
@@ -74,6 +77,7 @@ const uploadFiles = async () => {
type="file"
id="fileUploadInput"
multiple
accept="image/jpeg, image/png, image/gif, application/pdf"
/>
</UFormGroup>
<UFormGroup