Update the metaData for missing fields of the images in stack

This commit is contained in:
Evren Ozkan 2016-12-12 17:26:35 -05:00
parent 571c09b17f
commit 0cf9163885

View File

@ -287,8 +287,8 @@ function loadDisplaySetIntoViewport(data, templateData) {
const onNewImage = (e, eventData) => {
OHIF.log.info('imageViewerViewport onNewImage');
// Update the metaData for missing fields
//updateMetaData(eventData.enabledElement.image);
// Update the metaData for missing fields of the images in stack
updateMetaData(eventData.enabledElement.image);
// Update the templateData with the new imageId
// This allows the template helpers to update reactively