diff --git a/src/modules/components/file_upload/file_upload.ts b/src/modules/components/file_upload/file_upload.ts index e3211a2..988dbf8 100644 --- a/src/modules/components/file_upload/file_upload.ts +++ b/src/modules/components/file_upload/file_upload.ts @@ -89,7 +89,7 @@ export class FileUpload extends BI.Widget { }, text: BI.i18nText('Dec-Basic_Choose_File'), handler: () => { - self.uploader.select(); + this.uploader.select(); }, }, ], @@ -197,7 +197,7 @@ export class FileUpload extends BI.Widget { this.errorMsg = _ref; }, }, { - type: "bi.vertical_adapt", + type: BI.VerticalLayout.xtype, rgap: 5, items: [ {