LT-251: Fixing quick switch thumbnails when study is changed

This commit is contained in:
Bruno Alves de Faria authored and Erik Ziegler committed 2016-07-22 11:12:04 +02:00
1 parent a4354efa15
commit 529ef28042
11 files changed
+70 -32

No files matched your search

@@ -4,7 +4,7 @@ Template.lesionTable.onCreated(() => {
instance.data.lesionTableLayout = new ReactiveVar('comparison');
instance.data.timepoints = new ReactiveVar([]);
// Run this computation everytime table layout changes
// Run this computation every time table layout changes
instance.autorun(() => {
// Get the current table layout
const tableLayout = instance.data.lesionTableLayout.get();
@@ -25,7 +25,7 @@ Template.lesionTable.onRendered(() => {
const instance = Template.instance();
instance.autorun(() => {
// Run this computation everytime the lesion table layout is changed
// Run this computation every time the lesion table layout is changed
instance.data.lesionTableLayout.dep.depend();
if (instance.data.state.get('rightSidebar') !== 'lesions') {