Merge branch 'master' of github.com:OHIF/Viewers
This commit is contained in:
commit
b3e5838caf
@ -51,7 +51,9 @@ LayoutManager = class LayoutManager {
|
|||||||
// TODO: Change this when we add PDF and MPEG support
|
// TODO: Change this when we add PDF and MPEG support
|
||||||
// See https://ohiforg.atlassian.net/browse/LT-227
|
// See https://ohiforg.atlassian.net/browse/LT-227
|
||||||
var firstInstance = series.instances[0];
|
var firstInstance = series.instances[0];
|
||||||
if (!firstInstance.rows) {
|
|
||||||
|
// All imaging modalities must have a valid value for sopClassUid or rows
|
||||||
|
if (!firstInstance || (!isImage(firstInstance.sopClassUid) && !firstInstance.rows)) {
|
||||||
currentViewportData = {};
|
currentViewportData = {};
|
||||||
} else {
|
} else {
|
||||||
currentViewportData = {
|
currentViewportData = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user