Displaying progress bar for lazy-loaded studies images
This commit is contained in:
1 parent
830ca6f566
commit
d259affd9a
2 files changed
+4
-1
No files matched your search
@@ -30,6 +30,10 @@ OHIF.studies.loadStudy = studyInstanceUid => new Promise((resolve, reject) => {
|
||||
OHIF.viewer.StudyMetadataList.insert(study);
|
||||
}
|
||||
|
||||
// Add the study to the loading listener to display loading progress on series thumbnails
|
||||
const studyLoadingListener = OHIF.viewerbase.StudyLoadingListener.getInstance();
|
||||
studyLoadingListener.addStudy(study);
|
||||
|
||||
// Add the studyInstanceUid to the loaded state dictionary
|
||||
OHIF.studies.loadedDict.set(study.studyInstanceUid, true);
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { Template } from 'meteor/templating';
|
||||
import { Session } from 'meteor/session';
|
||||
import { Random } from 'meteor/random';
|
||||
import { OHIF } from 'meteor/ohif:core';
|
||||
// Local Modules
|
||||
import { unloadHandlers } from '../../../lib/unloadHandlers';
|
||||
|
||||
Reference in new issue
Block a user