- updated flow of appl submission;

- updated max file size across the app;
This commit is contained in:
Vitalii Kiiko
2024-10-19 11:42:47 +02:00
parent d659687ea6
commit 9607207a37
9 changed files with 127 additions and 112 deletions

View File

@@ -8,14 +8,14 @@ import { Button } from 'primereact/button';
// api
import CompanyService from '../../service/company-service';
import { mimeTypes } from '../../configData';
import { defaultMaxFileSize, mimeTypes } from '../../configData';
const FileuploadDelega = ({
fieldName,
setDataFn,
defaultValue = [],
accept = [],
maxSize = 100000000,
maxSize = defaultMaxFileSize,
emptyText = __('Trascina qui il tuo file', 'gepafin'),
chooseLabel = __('Aggiungi delega', 'gepafin'),
uploadLabel = __('Salva documento', 'gepafin'),