LT-364: Study List :: View shows a black screen

This commit is contained in:
Leonardo Campos committed 2016-11-22 13:13:21 -02:00
1 parent 7501c6d51d
commit 04e2701f4b
1 file changed
+2 -4
@@ -135,11 +135,9 @@ function viewStudies() {
const title = selectedStudies[0].patientName;
const studyInstanceUids = selectedStudies.map(study => study.studyInstanceUid);
const contentid = 'viewerTab';
// Generate a unique ID to represent this tab
// We can't just use the Mongo entry ID because
// then it will change after hot-reloading.
const contentid = Random.id();
ViewerData = window.ViewerData || ViewerData;
// Update the ViewerData global object
ViewerData[contentid] = {