Skip to content

Commit

Permalink
fix: Update mgt-file-upload.ts (#2358)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoubian authored Jun 1, 2023
1 parent 9f8953a commit b095694
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ export class MgtFileUpload extends MgtBaseComponent {
this._dialogTitle = strings.maximumFileSizeTitle;
this._dialogContent =
strings.maximumFileSize
.replace('{FileSize}', formatBytes(fileUploadList.maxFileSize))
.replace('{FileSize}', formatBytes(fileUploadList.maxFileSize * 1024))
.replace('{FileName}', file.name) +
formatBytes(file.size) +
'.';
Expand Down

0 comments on commit b095694

Please sign in to comment.