We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9df3f19 commit f80accfCopy full SHA for f80accf
packages/mgt-components/src/components/mgt-file-list/mgt-file-upload/mgt-file-upload.ts
@@ -854,7 +854,7 @@ export class MgtFileUpload extends MgtBaseComponent {
854
this._dialogTitle = strings.maximumFileSizeTitle;
855
this._dialogContent =
856
strings.maximumFileSize
857
- .replace('{FileSize}', formatBytes(fileUploadList.maxFileSize))
+ .replace('{FileSize}', formatBytes(fileUploadList.maxFileSize * 1024))
858
.replace('{FileName}', file.name) +
859
formatBytes(file.size) +
860
'.';
0 commit comments