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

This commit is contained in:
Leonardo Campos 2016-11-22 12:43:35 -02:00
parent 7501c6d51d
commit 04e2701f4b

View File

@ -135,11 +135,9 @@ function viewStudies() {
const title = selectedStudies[0].patientName; const title = selectedStudies[0].patientName;
const studyInstanceUids = selectedStudies.map(study => study.studyInstanceUid); const studyInstanceUids = selectedStudies.map(study => study.studyInstanceUid);
const contentid = 'viewerTab';
// Generate a unique ID to represent this tab ViewerData = window.ViewerData || ViewerData;
// We can't just use the Mongo entry ID because
// then it will change after hot-reloading.
const contentid = Random.id();
// Update the ViewerData global object // Update the ViewerData global object
ViewerData[contentid] = { ViewerData[contentid] = {