something WIP

This commit is contained in:
James A. Petts committed 2020-05-15 14:04:53 +02:00
1 parent 4b9a1ee9d1
commit b8a4ac231d
10 files changed
+42 -496

No files matched your search

+12
View File
@@ -4,7 +4,19 @@ import {
AnotherHelloWorldContext,
} from './getContextModule';
import { useViewModel, displaySetManager } from '@ohif/core';
function helloWorldComponent({}) {
const viewModel = useViewModel();
console.log(viewModel);
viewModel.displaySetInstanceUids.forEach(uid => {
console.log(displaySetManager.getDisplaySetByUID(uid));
});
debugger;
return (
<HelloWorldContext.Consumer>
{value => (