X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/0d0b7399b2e4906e26dbb5035bed033cec0646e9..0da5b926cb7aa461e8d45d86d5fc423d90e768a1:/src/index.tsx diff --git a/src/index.tsx b/src/index.tsx index 508fa7c3..f5eedc73 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -59,6 +59,8 @@ import { apiClientAuthorizationActionSet } from '~/views-components/context-menu import { groupActionSet } from '~/views-components/context-menu/action-sets/group-action-set'; import { groupMemberActionSet } from '~/views-components/context-menu/action-sets/group-member-action-set'; import { linkActionSet } from '~/views-components/context-menu/action-sets/link-action-set'; +import { loadFileViewersConfig } from '~/store/file-viewers/file-viewers-actions'; +import { setRemoteHosts } from '~/views/login-panel/login-panel'; console.log(`Starting arvados [${getBuildInfo()}]`); @@ -101,13 +103,15 @@ fetchConfig() const store = configureStore(history, services); store.subscribe(initListener(history, store, services, config)); - store.dispatch(initAuth()); + store.dispatch(initAuth(config)); store.dispatch(setBuildInfo()); store.dispatch(setCurrentTokenDialogApiHost(apiHost)); store.dispatch(setUuidPrefix(config.uuidPrefix)); + store.dispatch(setRemoteHosts(config.remoteHosts)); store.dispatch(loadVocabulary); + store.dispatch(loadFileViewersConfig); - const TokenComponent = (props: any) => ; + const TokenComponent = (props: any) => ; const MainPanelComponent = (props: any) => ; const App = () =>