LT-251: Fixing thumbnails issue
This commit is contained in:
1 parent
5b0f8e83d0
commit
b3f35cf3e9
3 files changed
+7
-6
No files matched your search
@@ -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;
|
||||
},
|
||||
|
||||
@@ -123,7 +123,7 @@ Template.toolbarSection.helpers({
|
||||
classes: 'imageViewerTool toolbarSectionButton',
|
||||
svgLink: '/packages/viewerbase/assets/icons.svg#icon-tools-measure-temp'
|
||||
});
|
||||
|
||||
|
||||
buttonData.push({
|
||||
id: 'exTool',
|
||||
title: 'EX Tool',
|
||||
@@ -131,7 +131,7 @@ Template.toolbarSection.helpers({
|
||||
svgLink: '/packages/viewerbase/assets/icons.svg#icon-tools-measure-temp'
|
||||
});
|
||||
|
||||
return buttonData;
|
||||
return buttonData;
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user