Skip to content

Instantly share code, notes, and snippets.

@Poltergeist
Created February 5, 2019 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Poltergeist/c11cc88857748e91c317eea536a1903a to your computer and use it in GitHub Desktop.
Save Poltergeist/c11cc88857748e91c317eea536a1903a to your computer and use it in GitHub Desktop.
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