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

diff --git a/src/index.tsx b/src/index.tsx
index 351ed2e04b..ca92c381f3 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -14,7 +14,7 @@ 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();
 
@@ -30,7 +30,8 @@ const store = configureStore({
 }, history);
 
 store.dispatch(authActions.INIT());
-store.dispatch<any>(projectService.getProjectList());
+const rootUuid = authService.getRootUuid();
+store.dispatch<any>(projectService.getProjectList(rootUuid));
 
 const App = () =>
     <Provider store={store}>
