X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5a4e3e7f2efcd6c3a291adcd3ec6fa154b3a9151..f2b031de2183439f8aade2f290cd0e3f95f6438c:/src/index.tsx diff --git a/src/index.tsx b/src/index.tsx index aac275f9d6..faaf6b81ec 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -26,6 +26,8 @@ import { favoriteActionSet } from "./views-components/context-menu/action-sets/f import { collectionFilesActionSet } from './views-components/context-menu/action-sets/collection-files-action-set'; import { collectionFilesItemActionSet } from './views-components/context-menu/action-sets/collection-files-item-action-set'; import { collectionActionSet } from './views-components/context-menu/action-sets/collection-action-set'; +import { collectionResourceActionSet } from './views-components/context-menu/action-sets/collection-resource-action-set'; +import { initPickerProjectTree } from './views-components/project-tree-picker/project-tree-picker'; addMenuActionSet(ContextMenuKind.ROOT_PROJECT, rootProjectActionSet); addMenuActionSet(ContextMenuKind.PROJECT, projectActionSet); @@ -34,16 +36,18 @@ addMenuActionSet(ContextMenuKind.FAVORITE, favoriteActionSet); addMenuActionSet(ContextMenuKind.COLLECTION_FILES, collectionFilesActionSet); addMenuActionSet(ContextMenuKind.COLLECTION_FILES_ITEM, collectionFilesItemActionSet); addMenuActionSet(ContextMenuKind.COLLECTION, collectionActionSet); +addMenuActionSet(ContextMenuKind.COLLECTION_RESOURCE, collectionResourceActionSet); fetchConfig() .then(config => { const history = createBrowserHistory(); - const services = createServices(config.API_HOST); + const services = createServices(config); const store = configureStore(history, services); store.dispatch(initAuth()); store.dispatch(getProjectList(services.authService.getUuid())); - + store.dispatch(initPickerProjectTree()); + const TokenComponent = (props: any) => ; const WorkbenchComponent = (props: any) => ;