* fix: 🐛 JSON launch not working properly (#1089) JSON launch not working properly after QIDO/WADO switch #1089 Closes: #1089 * fix: 🐛 addressing review feedback (#1089) Closes: #1089
This commit is contained in:
1 parent
3452f1b91e
commit
2677170d67
2 files changed
+32
-33
No files matched your search
@@ -59,12 +59,7 @@ class ViewerMain extends Component {
|
||||
// Get all the display sets for the viewer studies
|
||||
if (this.props.studies) {
|
||||
const displaySets = this.getDisplaySets(this.props.studies);
|
||||
|
||||
this.setState({
|
||||
displaySets,
|
||||
});
|
||||
|
||||
this.fillEmptyViewportPanes();
|
||||
this.setState({ displaySets }, this.fillEmptyViewportPanes);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,12 +73,7 @@ class ViewerMain extends Component {
|
||||
(viewportAmount !== prevViewportAmount && !isVtk)
|
||||
) {
|
||||
const displaySets = this.getDisplaySets(this.props.studies);
|
||||
|
||||
this.setState({
|
||||
displaySets,
|
||||
});
|
||||
|
||||
this.fillEmptyViewportPanes();
|
||||
this.setState({ displaySets }, this.fillEmptyViewportPanes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user