Move server-side functions from viewerbase to worklist. Split multi-frame and single-image modalities into separate display sets (OHIF-36)

This commit is contained in:
Erik Ziegler committed 2016-08-08 18:37:32 +02:00
1 parent 9d8c039ffc
commit fe32c40832
32 files changed
+231 -793

No files matched your search

@@ -16,7 +16,7 @@ Template.imageThumbnail.onRendered(() => {
cornerstone.enable(element);
// Get the image ID
const imageInstance = instance.data.thumbnail.stack.instances[0];
const imageInstance = instance.data.thumbnail.stack.images[0];
const imageId = getImageId(imageInstance);
// Activate the loading state
@@ -50,7 +50,7 @@ Template.imageThumbnail.onRendered(() => {
}
// Wait for the new data and reresh the image thumbnail
Meteor.setTimeout(() => {
Meteor.defer(() => {
instance.refreshImage();
});
});