initWebSocket(config, services.authService, store);
await store.dispatch(loadWorkbench());
addRouteChangeHandlers(history, store);
- // createEnumCollectorWorkflow(services);
- store.dispatch(initProjectsTreePicker('testPicker1'));
- store.dispatch(initProjectsTreePicker('testPicker2'));
- store.dispatch(initProjectsTreePicker('testPicker3'));
-
- // await store.dispatch(loadCollection(
- // 'c97qk-4zz18-9sn8ygaf62chkkd',
- // 'testPicker',
- // ));
}
};
};
<MainContentBar />
</Grid>
<Grid item xs className={classes.content}>
- <p>Projects only</p>
- <ProjectsTreePicker
- pickerId="testPicker1"
- showSelection/>
- <p>Collections included</p>
- <ProjectsTreePicker
- pickerId="testPicker2"
- includeCollections
- showSelection
- />
- <p>Files included</p>
- <ProjectsTreePicker
- pickerId="testPicker3"
- includeCollections
- includeFiles
- showSelection
- toggleItemActive={(...args: any[]) => console.log(args)} />
<Switch>
<Route path={Routes.PROJECTS} component={ProjectPanel} />
<Route path={Routes.COLLECTIONS} component={CollectionPanel} />