remove dead code
This commit is contained in:
parent
40a62b1329
commit
3a78d313ac
@ -45,35 +45,3 @@ function getPanelModule({
|
||||
}
|
||||
|
||||
export default getPanelModule;
|
||||
|
||||
// // TODO -> Need some way of selecting which displaySets hit the viewports.
|
||||
// const { DisplaySetService } = servicesManager.services;
|
||||
|
||||
// // TODO -> Make a HangingProtocolService
|
||||
// const HangingProtocolService = displaySets => {
|
||||
// const displaySetInstanceUid = displaySets[Object.keys(displaySets)[0]][0].displaySetInstanceUid;
|
||||
|
||||
// return {
|
||||
// numRows: 1,
|
||||
// numCols: 1,
|
||||
// activeViewportIndex: 0,
|
||||
// viewports: [
|
||||
// {
|
||||
// displaySetInstanceUid,
|
||||
// },
|
||||
// ],
|
||||
// };
|
||||
// };
|
||||
|
||||
// const handleDisplaySetSubscription = useCallback(displaySets => {
|
||||
// setViewportGrid(HangingProtocolService(displaySets));
|
||||
// });
|
||||
|
||||
// useEffect(() => {
|
||||
// const { unsubscribe } = DisplaySetService.subscribe(
|
||||
// DisplaySetService.EVENTS.DISPLAY_SET_ADDED,
|
||||
// handleDisplaySetSubscription
|
||||
// );
|
||||
|
||||
// return unsubscribe;
|
||||
// }, []);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user