ydb-embedded-ui 4.19.0 → 4.19.1
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.19.1](https://github.com/ydb-platform/ydb-embedded-ui/compare/v4.19.0...v4.19.1) (2023-10-11)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* add storage value to tb formatter ([#547](https://github.com/ydb-platform/ydb-embedded-ui/issues/547)) ([f1e4377](https://github.com/ydb-platform/ydb-embedded-ui/commit/f1e4377443be493a7072aca33a62b51e381f6841))
|
9
|
+
|
3
10
|
## [4.19.0](https://github.com/ydb-platform/ydb-embedded-ui/compare/v4.18.0...v4.19.0) (2023-10-11)
|
4
11
|
|
5
12
|
|
@@ -86,6 +86,10 @@ export const formatStorageValuesToGb = (value?: number, total?: number) => {
|
|
86
86
|
return formatStorageValues(value, total, 'gb');
|
87
87
|
};
|
88
88
|
|
89
|
+
export const formatStorageValuesToTb = (value?: number, total?: number) => {
|
90
|
+
return formatStorageValues(value, total, 'tb');
|
91
|
+
};
|
92
|
+
|
89
93
|
export const formatNumber = (number?: unknown) => {
|
90
94
|
if (!isNumeric(number)) {
|
91
95
|
return '';
|