LT-251: Fixing thumbnails issues on the left sidebar (study browser)
This commit is contained in:
parent
b3f35cf3e9
commit
bd7c847443
@ -46,8 +46,6 @@ Template.imageThumbnail.onRendered(() => {
|
||||
|
||||
// Run this computation every time the current study is changed
|
||||
instance.autorun(() => {
|
||||
const currentData = Template.currentData();
|
||||
|
||||
// Check if there is a reactive var set for current study
|
||||
if (instance.data.currentStudy) {
|
||||
// Register a dependency from this computation on current study
|
||||
@ -55,7 +53,7 @@ Template.imageThumbnail.onRendered(() => {
|
||||
}
|
||||
|
||||
// Wait for the new data and reresh the image thumbnail
|
||||
Meteor.defer(() => {
|
||||
Tracker.afterFlush(() => {
|
||||
instance.refreshImage();
|
||||
});
|
||||
});
|
||||
|
||||
@ -23,7 +23,8 @@
|
||||
"peers": [{
|
||||
"host": "localhost",
|
||||
"port": 4242,
|
||||
"hostAE": "ORTHANC"
|
||||
"hostAE": "ORTHANC",
|
||||
"aeTitle": "ORTHANC"
|
||||
}]
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user