X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/d19d853e83383a6b75f638be99472aa626a05524..71b9264c1720e619f8cfcb297a7848ece420c61c:/src/views/api-client-authorization-panel/api-client-authorization-panel.tsx

diff --git a/src/views/api-client-authorization-panel/api-client-authorization-panel.tsx b/src/views/api-client-authorization-panel/api-client-authorization-panel.tsx
index 06d32bfe..b16e5076 100644
--- a/src/views/api-client-authorization-panel/api-client-authorization-panel.tsx
+++ b/src/views/api-client-authorization-panel/api-client-authorization-panel.tsx
@@ -11,17 +11,22 @@ import {
     ApiClientAuthorizationPanelRootActionProps
 } from '~/views/api-client-authorization-panel/api-client-authorization-panel-root';
 import { openApiClientAuthorizationContextMenu } from '~/store/context-menu/context-menu-actions';
+import { openApiClientAuthorizationsHelpDialog } from '~/store/api-client-authorizations/api-client-authorizations-actions';
 
 const mapStateToProps = (state: RootState): ApiClientAuthorizationPanelRootDataProps => {
     return {
-        apiClientAuthorizations: state.apiClientAuthorizations,
-        hasApiClientAuthorizations: state.apiClientAuthorizations.length > 0
+        resources: state.resources
     };
 };
 
 const mapDispatchToProps = (dispatch: Dispatch): ApiClientAuthorizationPanelRootActionProps => ({
-    openRowOptions: (event, apiClientAuthorization) => {
+    onContextMenu: (event, apiClientAuthorization) => {
         dispatch<any>(openApiClientAuthorizationContextMenu(event, apiClientAuthorization));
+    },
+    onItemClick: (resourceUuid: string) => { return; },
+    onItemDoubleClick: uuid => { return; },
+    openHelpDialog: () => {
+        dispatch<any>(openApiClientAuthorizationsHelpDialog());
     }
 });
 
