fix(Viewer): Removes fixed modality and get the one returned from ohif-core (#664)
* fix(Viewer): Removes fixed modality insert and starting using the information returned from ohif-cor * fix(Viewer): Includes condition when display set does not have modality information to use UN for un
This commit is contained in:
1 parent
d4aee36542
commit
5bd3af0cca
1 file changed
+1
-1
@@ -344,7 +344,7 @@ const _mapStudiesToThumbnails = function(studies) {
|
|||||||
if (displaySet.images && displaySet.images.length) {
|
if (displaySet.images && displaySet.images.length) {
|
||||||
imageId = displaySet.images[0].getImageId();
|
imageId = displaySet.images[0].getImageId();
|
||||||
} else {
|
} else {
|
||||||
altImageText = 'SR';
|
altImageText = displaySet.modality ? displaySet.modality : 'UN';
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in new issue
Block a user