eai-frontend-components 2.0.37 → 2.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +10 -10
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -909,7 +909,7 @@ const convertInternetToDisplay = (internet, unit) => {
|
|
|
909
909
|
if (internetInMB > 1023) {
|
|
910
910
|
return `${convertMbToGb(roundNumber(internetInMB))} GB`;
|
|
911
911
|
}
|
|
912
|
-
return `${internetInMB} MB`;
|
|
912
|
+
return `${roundNumber(internetInMB)} MB`;
|
|
913
913
|
};
|
|
914
914
|
const convertMbToGb = (value) => {
|
|
915
915
|
return value > 0 ? roundNumber(value / 1024) : 0;
|