X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/762c232937e6825839ada7d682542601aaffbd90..e25469d58a038391fa16184da4f7078a0eae805a:/src/index.tsx

diff --git a/src/index.tsx b/src/index.tsx
index 67de95fb..ca92c381 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -14,9 +14,10 @@ import configureStore from "./store/store";
 import { ConnectedRouter } from "react-router-redux";
 import ApiToken from "./components/api-token/api-token";
 import authActions from "./store/auth/auth-action";
-import { projectService } from "./services/services";
+import { authService, projectService } from "./services/services";
 
 const history = createBrowserHistory();
+
 const store = configureStore({
     projects: [
     ],
@@ -29,7 +30,8 @@ const store = configureStore({
 }, history);
 
 store.dispatch(authActions.INIT());
-store.dispatch<any>(projectService.getTopProjectList());
+const rootUuid = authService.getRootUuid();
+store.dispatch<any>(projectService.getProjectList(rootUuid));
 
 const App = () =>
     <Provider store={store}>
