Merge remote-tracking branch 'origin/upload-form-field-v2' into upload-form-field-v2
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 4 Jul 2024 07:35:53 +0000 (09:35 +0200)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 4 Jul 2024 07:35:53 +0000 (09:35 +0200)
1  2 
ts/WoltLabSuite/Core/Form/Builder/Field/Controller/FileProcessor.ts

index 4c24c31167c315aa585e9d76a98084f130c9dbf1,291a68fbabd1aaea3f26c6bc7aad261a5dc97056..916d84b0bceff496fa47d89d57055310c7f46bd1
@@@ -14,10 -14,11 +14,11 @@@ import 
    insertFileInformation,
    removeUploadProgress,
    trackUploadProgress,
 -} from "WoltLabSuite/Core/Component/File/File";
 +} from "WoltLabSuite/Core/Component/File/Helper";
  import { clearPreviousErrors } from "WoltLabSuite/Core/Component/File/Upload";
  
- const _data = new Map<string, FileProcessor>();
+ type FileId = string;
+ const fileProcessors = new Map<FieldId, FileProcessor>();
  
  export interface ExtraButton {
    title: string;