[ARVADOS-WORKBENCH2] updated: 1.1.4-328-g1a1007b

Git user git at public.curoverse.com
Thu Jul 19 03:43:47 EDT 2018


Summary of changes:
 src/views-components/main-app-bar/main-app-bar.tsx | 4 ++--
 src/views-components/project-tree/project-tree.tsx | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

       via  1a1007b664c6158c905a2fbfa998e7a5737ab7e1 (commit)
      from  6577b5404eef1061fc3f2fb1cfdc1775bd752132 (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 1a1007b664c6158c905a2fbfa998e7a5737ab7e1
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date:   Thu Jul 19 09:43:40 2018 +0200

    clean code after CR
    
    Feature #13797
    
    Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>

diff --git a/src/views-components/main-app-bar/main-app-bar.tsx b/src/views-components/main-app-bar/main-app-bar.tsx
index 62fac46..c44448a 100644
--- a/src/views-components/main-app-bar/main-app-bar.tsx
+++ b/src/views-components/main-app-bar/main-app-bar.tsx
@@ -74,7 +74,7 @@ export const MainAppBar: React.SFC<MainAppBarProps> = (props) => {
                     onContextMenu={props.onContextMenu} />
             }
             { props.user && <IconButton color="inherit" onClick={props.onDetailsPanelToggle}>
-                    { <DetailsIcon /> }
+                    <DetailsIcon />
                 </IconButton>
             }
         </Toolbar>
@@ -87,7 +87,7 @@ const renderMenuForUser = ({ user, menuItems, onMenuItemClick }: MainAppBarProps
         <>
             <IconButton color="inherit">
                 <Badge badgeContent={3} color="primary">
-                    {<NotificationIcon />}
+                    <NotificationIcon />
                 </Badge>
             </IconButton>
             <DropdownMenu icon={<UserPanelIcon />} id="account-menu">
diff --git a/src/views-components/project-tree/project-tree.tsx b/src/views-components/project-tree/project-tree.tsx
index 68c4c85..411e6dd 100644
--- a/src/views-components/project-tree/project-tree.tsx
+++ b/src/views-components/project-tree/project-tree.tsx
@@ -21,9 +21,8 @@ export interface ProjectTreeProps {
 class ProjectTree<T> extends React.Component<ProjectTreeProps & WithStyles<CssRules>> {
     render(): ReactElement<any> {
         const { classes, projects, toggleOpen, toggleActive, onContextMenu } = this.props;
-        const { root } = classes;
         return (
-            <div className={root}>
+            <div className={classes.root}>
                 <Tree items={projects}
                     onContextMenu={onContextMenu}
                     toggleItemOpen={toggleOpen}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list