Changes
This commit is contained in:
@@ -16,9 +16,8 @@ const uploadModalOpen = ref(false)
|
||||
const uploadInProgress = ref(false)
|
||||
const fileUploadFormData = ref({
|
||||
tags: ["Eingang"],
|
||||
project: null,
|
||||
customer: null,
|
||||
path: ""
|
||||
path: "",
|
||||
tenant: dataStore.currentTenant
|
||||
})
|
||||
|
||||
|
||||
@@ -40,7 +39,7 @@ const filteredDocuments = computed(() => {
|
||||
const uploadFiles = async () => {
|
||||
uploadInProgress.value = true;
|
||||
|
||||
await dataStore.uploadFiles(fileUploadFormData.value, document.getElementById("fileUploadInput").files)
|
||||
await dataStore.uploadFiles(fileUploadFormData.value, document.getElementById("fileUploadInput").files, true)
|
||||
|
||||
uploadModalOpen.value = false;
|
||||
uploadInProgress.value = false;
|
||||
|
||||
Reference in New Issue
Block a user