ydb-embedded-ui 4.19.2 → 4.19.3
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.19.3](https://github.com/ydb-platform/ydb-embedded-ui/compare/v4.19.2...v4.19.3) (2023-10-13)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* fix ProgressViewer background ([#556](https://github.com/ydb-platform/ydb-embedded-ui/issues/556)) ([6234462](https://github.com/ydb-platform/ydb-embedded-ui/commit/62344629713059fdfb191d3b8a57742f864dad66))
|
9
|
+
* **Storage:** display all groups by default ([#554](https://github.com/ydb-platform/ydb-embedded-ui/issues/554)) ([1da83f1](https://github.com/ydb-platform/ydb-embedded-ui/commit/1da83f19661ed8e49dd7c8a0930ce89a7c8c0185))
|
10
|
+
|
3
11
|
## [4.19.2](https://github.com/ydb-platform/ydb-embedded-ui/compare/v4.19.1...v4.19.2) (2023-10-12)
|
4
12
|
|
5
13
|
|
@@ -66,7 +66,8 @@ export function ProgressViewer({
|
|
66
66
|
warningThreshold = 60,
|
67
67
|
dangerThreshold = 80,
|
68
68
|
}: ProgressViewerProps) {
|
69
|
-
let fillWidth =
|
69
|
+
let fillWidth =
|
70
|
+
Math.round((parseFloat(String(value)) / parseFloat(String(capacity))) * 100) || 0;
|
70
71
|
fillWidth = fillWidth > 100 ? 100 : fillWidth;
|
71
72
|
let valueText: number | string | undefined = value,
|
72
73
|
capacityText: number | string | undefined = capacity,
|