Add fallback in case instances have URL specified directly
This commit is contained in:
parent
ee274d4ee1
commit
cbaf770fba
@ -9,6 +9,10 @@ getImageId = function(instance, frame) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (instance.url) {
|
||||
return instance.url;
|
||||
}
|
||||
|
||||
if (instance.wadouri) {
|
||||
var imageId = 'dicomweb:' + instance.wadouri; // WADO-URI;
|
||||
if (frame !== undefined) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user