Skip to content

Commit 091b5a1

Browse files
author
marker dao ®
committed
refactor(minor)
1 parent b1e821a commit 091b5a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/devextreme/js/__internal/ui/file_uploader/file_uploader.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const FILEUPLOADER_INVALID_CLASS = 'dx-fileuploader-invalid';
7373
const FILEUPLOADER_AFTER_LOAD_DELAY = 400;
7474
const DRAG_EVENT_DELTA = 1;
7575
const GAP = 10;
76-
const ETALON_TEXT = '1023 bytes';
76+
const REFERENCE_TEXT = '1023 bytes';
7777

7878
const DIALOG_TRIGGER_EVENT_NAMESPACE = 'dxFileUploaderDialogTrigger';
7979

@@ -793,7 +793,7 @@ class FileUploader extends Editor<FileUploaderProperties> {
793793
const iconWidth = _showFileIcon ? getOuterWidth($icon) : 0;
794794

795795
const prevFileSize = $fileSize?.text();
796-
$fileSize?.text(ETALON_TEXT);
796+
$fileSize?.text(REFERENCE_TEXT);
797797
const fileSizeWidth = getWidth($fileSize);
798798
$fileSize?.text(prevFileSize ?? '');
799799

0 commit comments

Comments
 (0)