Skip to content

Commit 4aea8a2

Browse files
fix(Nodes): fix endpoint setting (#397)
1 parent 67ff949 commit 4aea8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/Nodes/Nodes.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export const Nodes = ({path, type, className, additionalNodesInfo = {}}: NodesPr
7777
const fetchNodes = useCallback(() => {
7878
// For not DB entities we always use /compute endpoint instead of /nodes
7979
// since /nodes can return data only for tenants
80-
if (path && (useNodesEndpoint || !isDatabaseEntityType(type))) {
80+
if (path && (!useNodesEndpoint || !isDatabaseEntityType(type))) {
8181
dispatch(getComputeNodes(path));
8282
} else {
8383
dispatch(getNodes({tenant: path}));

0 commit comments

Comments
 (0)