WIP DisplaySetService

This commit is contained in:
James A. Petts committed 2020-05-18 17:21:57 +02:00
1 parent 649216fde4
commit 7a8418f64b
29 files changed
+460 -541

No files matched your search

@@ -5,14 +5,18 @@ import ViewerLayout from './ViewerLayout';
- Init layout based on the displaySets and the objects.
*/
export default function() {
export default function({ servicesManager, extensionManager }) {
function ViewerLayoutWithServices(props) {
return ViewerLayout({ servicesManager, extensionManager, ...props });
}
return [
// Layout Template Definition
// TODO: this is weird naming
{
name: 'viewerLayout',
id: 'viewerLayout',
component: ViewerLayout,
component: ViewerLayoutWithServices,
},
];
}