Still broken, but app runs
This commit is contained in:
1 parent
aec30e0db1
commit
b65a91129e
5 files changed
+149
-112
No files matched your search
@@ -20,7 +20,7 @@ function ViewerViewportGrid(props) {
|
||||
|
||||
// TODO -> Make a HangingProtocolService
|
||||
const HangingProtocolService = displaySets => {
|
||||
const displaySetInstanceUID = displaySets[Object.keys(displaySets)[0]][0].displaySetInstanceUID;
|
||||
const displaySetInstanceUID = displaySets[0].displaySetInstanceUID;
|
||||
|
||||
return {
|
||||
numRows: 1,
|
||||
@@ -40,7 +40,7 @@ function ViewerViewportGrid(props) {
|
||||
|
||||
useEffect(() => {
|
||||
const { unsubscribe } = DisplaySetService.subscribe(
|
||||
DisplaySetService.EVENTS.DISPLAY_SET_ADDED,
|
||||
DisplaySetService.EVENTS.DISPLAY_SETS_ADDED,
|
||||
handleDisplaySetSubscription
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user