LT-251: Fixing thumbnails issues on the left sidebar (study browser)

This commit is contained in:
Bruno Alves de Faria 2016-08-09 16:15:17 -03:00
parent b3f35cf3e9
commit bd7c847443
2 changed files with 3 additions and 4 deletions

View File

@ -46,8 +46,6 @@ Template.imageThumbnail.onRendered(() => {
// Run this computation every time the current study is changed // Run this computation every time the current study is changed
instance.autorun(() => { instance.autorun(() => {
const currentData = Template.currentData();
// Check if there is a reactive var set for current study // Check if there is a reactive var set for current study
if (instance.data.currentStudy) { if (instance.data.currentStudy) {
// Register a dependency from this computation on current study // 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 // Wait for the new data and reresh the image thumbnail
Meteor.defer(() => { Tracker.afterFlush(() => {
instance.refreshImage(); instance.refreshImage();
}); });
}); });

View File

@ -23,7 +23,8 @@
"peers": [{ "peers": [{
"host": "localhost", "host": "localhost",
"port": 4242, "port": 4242,
"hostAE": "ORTHANC" "hostAE": "ORTHANC",
"aeTitle": "ORTHANC"
}] }]
} }
] ]