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:
João Felipe de Medeiros Moreira authored and Danny Brown committed 2019-07-15 10:09:58 -04:00
1 parent d4aee36542
commit 5bd3af0cca
1 file changed
+1 -1
+1 -1
View File
@@ -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 {