X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/65d436f7c4bd643c7b6cccf97001ff6aef2c896b..f2b031de2183439f8aade2f290cd0e3f95f6438c:/src/index.tsx

diff --git a/src/index.tsx b/src/index.tsx
index dd2722335d..faaf6b81ec 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -27,6 +27,7 @@ import { collectionFilesActionSet } from './views-components/context-menu/action
 import { collectionFilesItemActionSet } from './views-components/context-menu/action-sets/collection-files-item-action-set';
 import { collectionActionSet } from './views-components/context-menu/action-sets/collection-action-set';
 import { collectionResourceActionSet } from './views-components/context-menu/action-sets/collection-resource-action-set';
+import { initPickerProjectTree } from './views-components/project-tree-picker/project-tree-picker';
 
 addMenuActionSet(ContextMenuKind.ROOT_PROJECT, rootProjectActionSet);
 addMenuActionSet(ContextMenuKind.PROJECT, projectActionSet);
@@ -40,12 +41,13 @@ addMenuActionSet(ContextMenuKind.COLLECTION_RESOURCE, collectionResourceActionSe
 fetchConfig()
     .then(config => {
         const history = createBrowserHistory();
-        const services = createServices(config.API_HOST);
+        const services = createServices(config);
         const store = configureStore(history, services);
 
         store.dispatch(initAuth());
         store.dispatch(getProjectList(services.authService.getUuid()));
-
+        store.dispatch(initPickerProjectTree());
+        
         const TokenComponent = (props: any) => <ApiToken authService={services.authService} {...props}/>;
         const WorkbenchComponent = (props: any) => <Workbench authService={services.authService} {...props}/>;
 
