X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3664cf869c1bdb38e62ffd35d16dee0c12af7c59..7ba0401cff3906814ba976ea36adab9b3d5c3922:/src/index.tsx

diff --git a/src/index.tsx b/src/index.tsx
index 67de95fb3a..ca92c381f3 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}>
