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 2019-07-15 11:09:58 -03:00 committed by Danny Brown
parent d4aee36542
commit 5bd3af0cca

View File

@ -344,7 +344,7 @@ const _mapStudiesToThumbnails = function(studies) {
if (displaySet.images && displaySet.images.length) {
imageId = displaySet.images[0].getImageId();
} else {
altImageText = 'SR';
altImageText = displaySet.modality ? displaySet.modality : 'UN';
}
return {