fix: segmentation not loading (#1566)
* Fix bug * Refactor the state of the component RTPanel
This commit is contained in:
1 parent
333677c40e
commit
4a7ce1c093
4 files changed
+90
-92
No files matched your search
@@ -11,7 +11,7 @@ import EmptyViewport from './EmptyViewport.js';
|
||||
|
||||
const { loadAndCacheDerivedDisplaySets } = utils;
|
||||
|
||||
const ViewportGrid = function(props) {
|
||||
const ViewportGrid = function (props) {
|
||||
const {
|
||||
activeViewportIndex,
|
||||
availablePlugins,
|
||||
@@ -37,7 +37,7 @@ const ViewportGrid = function(props) {
|
||||
viewportData.forEach(displaySet => {
|
||||
loadAndCacheDerivedDisplaySets(displaySet, studies);
|
||||
});
|
||||
}, [viewportData]);
|
||||
}, [studies, viewportData]);
|
||||
|
||||
const getViewportPanes = () =>
|
||||
layout.viewports.map((layout, viewportIndex) => {
|
||||
|
||||
Reference in new issue
Block a user