LT-251: Fixing thumbnails issue
This commit is contained in:
parent
5b0f8e83d0
commit
b3f35cf3e9
@ -3,14 +3,14 @@ import { OHIF } from 'meteor/ohif:core';
|
||||
Template.toolbarSection.helpers({
|
||||
// Returns true if the view shall be split in two viewports
|
||||
splitView() {
|
||||
// Run this computation every time the viewports are updated
|
||||
Session.get('LayoutManagerUpdated');
|
||||
|
||||
// Stops here if layout manager is not defined yet
|
||||
if (!window.layoutManager) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Run this computation every time the viewports are updated
|
||||
Session.get('LayoutManagerUpdated');
|
||||
|
||||
return layoutManager.viewportData.length > 1;
|
||||
},
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ Template.registerHelper('isDisplaySetActive', (displaySetInstanceUid, viewportIn
|
||||
return;
|
||||
}
|
||||
|
||||
console.warn('>>>>test');
|
||||
let viewportData;
|
||||
if (_.isUndefined(viewportIndex)) {
|
||||
viewportData = layoutManager.viewportData;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user