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" }] } ]