From: Michal Klobukowski Date: Tue, 27 Nov 2018 10:01:34 +0000 (+0100) Subject: Add loadVocabulary dispatch to project initialization X-Git-Tag: 1.3.0~5^2^2^2~28 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/612cc2f292c66f073e464ae321e389bb96ef1a04 Add loadVocabulary dispatch to project initialization Feature #14393 Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski --- diff --git a/src/index.tsx b/src/index.tsx index 88fd2298..62db7f0f 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -50,6 +50,7 @@ import HTML5Backend from 'react-dnd-html5-backend'; import { initAdvanceFormProjectsTree } from '~/store/search-bar/search-bar-actions'; import { repositoryActionSet } from '~/views-components/context-menu/action-sets/repository-action-set'; import { sshKeyActionSet } from '~/views-components/context-menu/action-sets/ssh-key-action-set'; +import { loadVocabulary } from '~/store/vocabulary/vocabulary-actions'; console.log(`Starting arvados [${getBuildInfo()}]`); @@ -88,6 +89,7 @@ fetchConfig() store.dispatch(setBuildInfo()); store.dispatch(setCurrentTokenDialogApiHost(apiHost)); store.dispatch(setUuidPrefix(config.uuidPrefix)); + store.dispatch(loadVocabulary); const TokenComponent = (props: any) => ; const MainPanelComponent = (props: any) => ;