fix: OHIF-1002 Study lazy load should be true by default (#1004)
This commit is contained in:
parent
0064a4b1cd
commit
66d8bc6d6f
@ -469,7 +469,7 @@ async function createStudyFromSOPInstanceList(server, sopInstanceList) {
|
||||
* @returns {Object} A study descriptor object
|
||||
*/
|
||||
async function RetrieveMetadata(server, studyInstanceUid) {
|
||||
return (server.enableStudyLazyLoad
|
||||
return (server.enableStudyLazyLoad !== false
|
||||
? lazyLoadStudyMetadata
|
||||
: loadStudyMetadata)(server, studyInstanceUid);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user