X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/ceda57340f34d71fb4289b344e6ca839db06f5e7..20657bc90bdb96c85eb5b50e80d09ae4978e7c7f:/src/views/compute-node-panel/compute-node-panel.tsx

diff --git a/src/views/compute-node-panel/compute-node-panel.tsx b/src/views/compute-node-panel/compute-node-panel.tsx
index a4f22c80..a531b2d0 100644
--- a/src/views/compute-node-panel/compute-node-panel.tsx
+++ b/src/views/compute-node-panel/compute-node-panel.tsx
@@ -5,7 +5,6 @@
 import { RootState } from '~/store/store';
 import { Dispatch } from 'redux';
 import { connect } from 'react-redux';
-import { } from '~/store/compute-nodes/compute-nodes-actions';
 import {
     ComputeNodePanelRoot,
     ComputeNodePanelRootDataProps,
@@ -15,15 +14,16 @@ import { openComputeNodeContextMenu } from '~/store/context-menu/context-menu-ac
 
 const mapStateToProps = (state: RootState): ComputeNodePanelRootDataProps => {
     return {
-        computeNodes: state.computeNodes,
-        hasComputeNodes: state.computeNodes.length > 0
+        resources: state.resources
     };
 };
 
 const mapDispatchToProps = (dispatch: Dispatch): ComputeNodePanelRootActionProps => ({
-    openRowOptions: (event, computeNode) => {
-        dispatch<any>(openComputeNodeContextMenu(event, computeNode));
-    }
+    onContextMenu: (event, resourceUuid) => {
+        dispatch<any>(openComputeNodeContextMenu(event, resourceUuid));
+    },
+    onItemClick: (resourceUuid: string) => { return; },
+    onItemDoubleClick: uuid => { return; }
 });
 
 export const ComputeNodePanel = connect(mapStateToProps, mapDispatchToProps)(ComputeNodePanelRoot);
\ No newline at end of file
