WIP, wrap command manager controls so we can pass these to the UI component.

This commit is contained in:
James A. Petts committed 2020-05-19 14:01:39 +02:00
1 parent 156b9cfd09
commit f7ae544716
4 files changed
+62 -70

No files matched your search

@@ -5,9 +5,18 @@ import ViewerLayout from './ViewerLayout';
- Init layout based on the displaySets and the objects.
*/
export default function({ servicesManager, extensionManager }) {
export default function({
servicesManager,
extensionManager,
commandsManager,
}) {
function ViewerLayoutWithServices(props) {
return ViewerLayout({ servicesManager, extensionManager, ...props });
return ViewerLayout({
servicesManager,
extensionManager,
commandsManager,
...props,
});
}
return [