Increased max file size to Document upload

This commit is contained in:
2025-06-04 16:33:31 +02:00
parent 581e565c6c
commit 8592f61a43
2 changed files with 6 additions and 5 deletions

View File

@@ -36,7 +36,7 @@
auto
:showUploadButton="false"
:showCancelButton="false"
:maxFileSize="20971520"
:maxFileSize="52428800"
:invalidFileSizeMessage="'Invalid file size, file size should be smaller than 20 MB'"
v-model:files="uploadedFiles"
@before-send="onBeforeSend"
@@ -100,7 +100,7 @@
auto
:showUploadButton="false"
:showCancelButton="false"
:maxFileSize="20971520"
:maxFileSize="52428800"
v-model:files="uploadedFiles"
@before-send="onBeforeSend"
>
@@ -332,6 +332,7 @@ const uploadedFiles = ref([]);
const numberPrFiles = ref(0);
const acceptedFormats = ref('.docx');
// :url="`http://localhost:8081/uploadListFiles/${folderName}`"
const errored_execution = ref(false);
// Stato per l'ID univoco della cartella
const uniqueFolderId = ref(generateUniqueId());
@@ -525,7 +526,7 @@ const openDebug = () => {
};
const pollBackendAPI = () => {
const errored_execution = ref(false);
errored_execution.value = false;
axios.get('/scenarios/getExecutionProgress/' + exec_id.value).then((response) => {
if (response.data.status == 'OK' || response.data.status == 'ERROR') {
console.log('Condition met, stopping polling.');