ydb-ui-components 5.1.0 → 5.1.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.
@@ -67,7 +67,7 @@ function NavigationTreeNode({ path, fetchPath, activePath, state, level, dispatc
67
67
  }
68
68
  return;
69
69
  }
70
- if (nodeState.loaded || nodeState.loading) {
70
+ if (nodeState.loaded || nodeState.loading || nodeState.error) {
71
71
  return;
72
72
  }
73
73
  dispatch({
@@ -95,6 +95,7 @@ function NavigationTreeNode({ path, fetchPath, activePath, state, level, dispatc
95
95
  nodeState.collapsed,
96
96
  nodeState.loaded,
97
97
  nodeState.loading,
98
+ nodeState.error,
98
99
  path,
99
100
  ]);
100
101
  const handleClick = react_1.default.useCallback(() => {
@@ -61,7 +61,7 @@ export function NavigationTreeNode({ path, fetchPath, activePath, state, level,
61
61
  }
62
62
  return;
63
63
  }
64
- if (nodeState.loaded || nodeState.loading) {
64
+ if (nodeState.loaded || nodeState.loading || nodeState.error) {
65
65
  return;
66
66
  }
67
67
  dispatch({
@@ -89,6 +89,7 @@ export function NavigationTreeNode({ path, fetchPath, activePath, state, level,
89
89
  nodeState.collapsed,
90
90
  nodeState.loaded,
91
91
  nodeState.loading,
92
+ nodeState.error,
92
93
  path,
93
94
  ]);
94
95
  const handleClick = React.useCallback(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-ui-components",
3
- "version": "5.1.0",
3
+ "version": "5.1.1",
4
4
  "description": "",
5
5
  "license": "MIT",
6
6
  "exports": {