[ARVADOS-WORKBENCH2] updated: 1.1.4-571-g5a4e3e7

Git user git at public.curoverse.com
Tue Aug 7 09:01:36 EDT 2018


Summary of changes:
 src/index.tsx | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

       via  5a4e3e7f2efcd6c3a291adcd3ec6fa154b3a9151 (commit)
      from  12a7331edc4ca08c12f0d525df1a979d10cd1168 (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 5a4e3e7f2efcd6c3a291adcd3ec6fa154b3a9151
Author: Daniel Kos <daniel.kos at contractors.roche.com>
Date:   Tue Aug 7 15:01:14 2018 +0200

    Fix workbench errors due to missing auth service
    
    No issue #
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos at contractors.roche.com>

diff --git a/src/index.tsx b/src/index.tsx
index 467aee0..aac275f 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -33,7 +33,7 @@ addMenuActionSet(ContextMenuKind.RESOURCE, resourceActionSet);
 addMenuActionSet(ContextMenuKind.FAVORITE, favoriteActionSet);
 addMenuActionSet(ContextMenuKind.COLLECTION_FILES, collectionFilesActionSet);
 addMenuActionSet(ContextMenuKind.COLLECTION_FILES_ITEM, collectionFilesItemActionSet);
-addMenuActionSet(ContextMenuKind.COLLECTION, collectionActionSet); 
+addMenuActionSet(ContextMenuKind.COLLECTION, collectionActionSet);
 
 fetchConfig()
     .then(config => {
@@ -44,15 +44,16 @@ fetchConfig()
         store.dispatch(initAuth());
         store.dispatch(getProjectList(services.authService.getUuid()));
 
-        const Token = (props: any) => <ApiToken authService={services.authService} {...props}/>;
+        const TokenComponent = (props: any) => <ApiToken authService={services.authService} {...props}/>;
+        const WorkbenchComponent = (props: any) => <Workbench authService={services.authService} {...props}/>;
 
         const App = () =>
             <MuiThemeProvider theme={CustomTheme}>
                 <Provider store={store}>
                     <ConnectedRouter history={history}>
                         <div>
-                            <Route path="/" component={Workbench} />
-                            <Route path="/token" component={Token} />
+                            <Route path="/" component={WorkbenchComponent} />
+                            <Route path="/token" component={TokenComponent} />
                         </div>
                     </ConnectedRouter>
                 </Provider>

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list