[ARVADOS-WORKBENCH2] updated: 1.1.4-340-g4229645

Git user git at public.curoverse.com
Sun Jul 22 17:05:12 EDT 2018


Summary of changes:
 src/views-components/context-menu/context-menu.tsx | 4 ++--
 src/views/workbench/workbench.tsx                  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

       via  4229645b39e3edfa288be826fb2cdcfa5fd90d38 (commit)
      from  180c2c37b635cbb7a33257d2ee9b4395553ce5e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 4229645b39e3edfa288be826fb2cdcfa5fd90d38
Author: Daniel Kos <daniel.kos at contractors.roche.com>
Date:   Sun Jul 22 23:05:09 2018 +0200

    Get rid of context-menu-hoc
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos at contractors.roche.com>

diff --git a/src/views-components/context-menu/context-menu.tsx b/src/views-components/context-menu/context-menu.tsx
index da62753..cc2fcb3 100644
--- a/src/views-components/context-menu/context-menu.tsx
+++ b/src/views-components/context-menu/context-menu.tsx
@@ -5,7 +5,7 @@
 import { connect } from "react-redux";
 import { RootState } from "../../store/store";
 import { contextMenuActions } from "../../store/context-menu/context-menu-actions";
-import { ContextMenu, ContextMenuProps, ContextMenuItem } from "../../components/context-menu/context-menu";
+import { ContextMenu as ContextMenuComponent, ContextMenuProps, ContextMenuItem } from "../../components/context-menu/context-menu";
 import { createAnchorAt } from "../../components/popover/helpers";
 import { ContextMenuResource } from "../../store/context-menu/context-menu-reducer";
 import { ContextMenuActionSet, ContextMenuAction } from "./context-menu-action-set";
@@ -42,7 +42,7 @@ const mergeProps = ({ resource, ...dataProps }: DataProps, actionProps: ActionPr
     }
 });
 
-export const ContextMenuHOC = connect(mapStateToProps, mapDispatchToProps, mergeProps)(ContextMenu);
+export const ContextMenu = connect(mapStateToProps, mapDispatchToProps, mergeProps)(ContextMenuComponent);
 
 const menuActionSets = new Map<string, ContextMenuActionSet>();
 
diff --git a/src/views/workbench/workbench.tsx b/src/views/workbench/workbench.tsx
index 934fe53..a62b713 100644
--- a/src/views/workbench/workbench.tsx
+++ b/src/views/workbench/workbench.tsx
@@ -31,7 +31,7 @@ import { contextMenuActions } from "../../store/context-menu/context-menu-action
 import { SidePanelIdentifiers } from '../../store/side-panel/side-panel-reducer';
 import { ProjectResource } from '../../models/project';
 import { ResourceKind } from '../../models/resource';
-import { ContextMenuHOC, ContextMenuKind } from "../../views-components/context-menu/context-menu";
+import { ContextMenu, ContextMenuKind } from "../../views-components/context-menu/context-menu";
 
 const drawerWidth = 240;
 const appBarHeight = 100;
@@ -195,7 +195,7 @@ export const Workbench = withStyles(styles)(
                             </div>
                             { user && <DetailsPanel /> }
                         </main>
-                        <ContextMenuHOC />
+                        <ContextMenu />
                         <CreateProjectDialog />
                     </div>
                 );

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list