LT-251: Fixing quick switch thumbnails when study is changed
This commit is contained in:
1 parent
a4354efa15
commit
529ef28042
11 files changed
+70
-32
No files matched your search
+2
-2
@@ -44,7 +44,7 @@ Template.studyTimepointBrowser.onRendered(() => {
|
||||
const instance = Template.instance();
|
||||
|
||||
instance.autorun(() => {
|
||||
// Runs this computation everytime the timepointViewType is changed
|
||||
// Runs this computation every time the timepointViewType is changed
|
||||
const type = instance.timepointViewType.get();
|
||||
|
||||
// Removes all active classes to collapse the timepoints and studies
|
||||
@@ -57,7 +57,7 @@ Template.studyTimepointBrowser.onRendered(() => {
|
||||
|
||||
let lastStudy;
|
||||
instance.autorun(() => {
|
||||
// Runs this computation everytime the curenty study is changed
|
||||
// Runs this computation every time the curenty study is changed
|
||||
const currentStudy = instance.data.currentStudy && instance.data.currentStudy.get();
|
||||
|
||||
// Check if the study really changed and update the last study
|
||||
|
||||
Reference in new issue
Block a user