Adapting OHIFStudyMetadataSource to use new retrieveMetadata call from ohif:study-list package.
This commit is contained in:
1 parent
7dff1a815e
commit
e1cc8adbad
2 files changed
+6
-3
No files matched your search
@@ -13,9 +13,7 @@ export class OHIFStudyMetadataSource extends OHIF.viewerbase.StudyMetadataSource
|
||||
* @return {Promise} A Promise object
|
||||
*/
|
||||
getByInstanceUID(studyInstanceUID) {
|
||||
return new Promise((resolve, reject) => {
|
||||
getStudyMetadata(studyInstanceUID, resolve, reject);
|
||||
});
|
||||
return OHIF.studylist.retrieveStudyMetadata(studyInstanceUID);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user