Fix StudyPrefetcher import of getImageId. Update StandaloneViewer

This commit is contained in:
Erik Ziegler committed 2017-10-27 11:30:25 +02:00
1 parent 97b34090a3
commit fc29b48b59
19 files changed
+767 -1030

No files matched your search

@@ -5,6 +5,7 @@ import { _ } from 'meteor/underscore';
import { OHIF } from 'meteor/ohif:core';
import { OHIFError } from './OHIFError';
import { StackManager } from '../StackManager.js';
import { getImageId } from '../getImageId.js';
export class StudyPrefetcher {
@@ -16,10 +16,10 @@ function updateQueryStringParameter(uri, key, value) {
*
* @param instance
* @param frame
* #param thumbnail
* @param thumbnail
* @returns {string} The imageId to be used by Cornerstone
*/
export function getImageId(instance, frame, thumbnail) {
export function getImageId(instance, frame, thumbnail=false) {
if (!instance) {
return;
}