Added Reloaded after File Upload
Change selection for Images
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user