fix regression not showing warnings list on thumbnail for segmentations (#2563)
* fix regression not showing warnings list on thumbnail for segmentations * update dcmjs version
This commit is contained in:
1 parent
702d99cb93
commit
53b1d71d56
10 files changed
+13
-15
No files matched your search
@@ -456,6 +456,7 @@ const _checkForSeriesInconsistencesWarnings = async function(
|
||||
// warnings already checked and cached in displaySet
|
||||
return displaySet.inconsistencyWarnings;
|
||||
}
|
||||
|
||||
const inconsistencyWarnings = [];
|
||||
|
||||
if (displaySet.Modality !== 'SEG') {
|
||||
@@ -515,7 +516,6 @@ const _checkForSeriesInconsistencesWarnings = async function(
|
||||
} else {
|
||||
const segMetadata = displaySet.metadata;
|
||||
if (!segMetadata) {
|
||||
displaySet.inconsistencyWarnings = inconsistencyWarnings;
|
||||
return inconsistencyWarnings;
|
||||
}
|
||||
|
||||
@@ -524,7 +524,6 @@ const _checkForSeriesInconsistencesWarnings = async function(
|
||||
false
|
||||
);
|
||||
if (!referencedDisplaySet) {
|
||||
displaySet.inconsistencyWarnings = inconsistencyWarnings;
|
||||
return inconsistencyWarnings;
|
||||
}
|
||||
|
||||
@@ -532,7 +531,6 @@ const _checkForSeriesInconsistencesWarnings = async function(
|
||||
image.getImageId()
|
||||
);
|
||||
if (!imageIds || imageIds.length === 0) {
|
||||
displaySet.inconsistencyWarnings = inconsistencyWarnings;
|
||||
return inconsistencyWarnings;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user