From bd7c847443321968e81f9fbe3ea1159096a0abac Mon Sep 17 00:00:00 2001 From: Bruno Alves de Faria Date: Tue, 9 Aug 2016 16:15:17 -0300 Subject: [PATCH] LT-251: Fixing thumbnails issues on the left sidebar (study browser) --- .../components/studyBrowser/imageThumbnail/imageThumbnail.js | 4 +--- config/localhostOrthanc.json | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Packages/viewerbase/client/components/studyBrowser/imageThumbnail/imageThumbnail.js b/Packages/viewerbase/client/components/studyBrowser/imageThumbnail/imageThumbnail.js index 4e57026a6..bdf72869e 100644 --- a/Packages/viewerbase/client/components/studyBrowser/imageThumbnail/imageThumbnail.js +++ b/Packages/viewerbase/client/components/studyBrowser/imageThumbnail/imageThumbnail.js @@ -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(); }); }); diff --git a/config/localhostOrthanc.json b/config/localhostOrthanc.json index 5447d0702..2b76cb5e2 100644 --- a/config/localhostOrthanc.json +++ b/config/localhostOrthanc.json @@ -23,7 +23,8 @@ "peers": [{ "host": "localhost", "port": 4242, - "hostAE": "ORTHANC" + "hostAE": "ORTHANC", + "aeTitle": "ORTHANC" }] } ]