File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2499,7 +2499,7 @@ var onSingleFileUpload = function onSingleFileUpload(event) {
24992499var uploadProgress = function uploadProgress(uploadEvent) {
25002500 var loaded = uploadEvent.loaded,
25012501 total = uploadEvent.total;
2502- console.log("Uploading status : ".concat(loaded / total * 100, "%"));
2502+ console.log("Uploading status : ".concat(Math.round( loaded / total * 100) , "%"));
25032503};
25042504
25052505/***/ }),
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ export const onSingleFileUpload = function(event) {
2828
2929export const uploadProgress = function ( uploadEvent ) {
3030 const { loaded, total} = uploadEvent ;
31- console . log ( `Uploading status : ${ ( loaded / total ) * 100 } %` ) ;
31+ console . log ( `Uploading status : ${ Math . round ( ( loaded / total ) * 100 ) } %` ) ;
3232}
You can’t perform that action at this time.
0 commit comments