ydb-embedded-ui 1.13.0 → 1.13.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.13.1](https://github.com/ydb-platform/ydb-embedded-ui/compare/v1.13.0...v1.13.1) (2022-09-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **Storage:** fix groups/nodes counter ([9b59ae0](https://github.com/ydb-platform/ydb-embedded-ui/commit/9b59ae0d045beff7aa45560e028618a88bd8483f))
9
+
3
10
  ## [1.13.0](https://github.com/ydb-platform/ydb-embedded-ui/compare/v1.12.2...v1.13.0) (2022-09-01)
4
11
 
5
12
 
@@ -227,8 +227,9 @@ class Storage extends React.Component {
227
227
  return label;
228
228
  }
229
229
 
230
- if (count.total === flatListStorageEntities.length) {
231
- label += count.total;
230
+ // count.total can be missing in old versions
231
+ if (flatListStorageEntities.length === Number(count.total) || !count.total) {
232
+ label += flatListStorageEntities.length;
232
233
  } else {
233
234
  label += `${flatListStorageEntities.length} of ${count.total}`;
234
235
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-embedded-ui",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "files": [
5
5
  "dist"
6
6
  ],