Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/plugins/nodes/src/js/components/NodesTable.tsx b/plugins/nodes/src/js/components/NodesTable.tsx
index 867ca1b3d..6b7aedbe9 100644
--- a/plugins/nodes/src/js/components/NodesTable.tsx
+++ b/plugins/nodes/src/js/components/NodesTable.tsx
@@ -29,6 +29,10 @@ import {
spacingRenderer
} from "../columns/NodesTableSpacingColumn";
+import * as NetworkNodesClient from "../data/NetworkNodesClient";
+
+console.log(NetworkNodesClient);
+
interface NodesTableProps {
hosts: NodesList;
nodeHealthResponse: boolean;
diff --git a/plugins/nodes/src/js/data/NetworkNodesClient.ts b/plugins/nodes/src/js/data/NetworkNodesClient.ts
index c5f8f87e0..848b95f95 100644
--- a/plugins/nodes/src/js/data/NetworkNodesClient.ts
+++ b/plugins/nodes/src/js/data/NetworkNodesClient.ts
@@ -30,3 +30,5 @@ export function fetchNetworkNodes(): Observable<RequestResponse<string[]>> {
})
);
}
+
+window.test = fetchNetworkNodes;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment