From 60f6eb39718de47cccb9e8dfa90c99f01e20a66c Mon Sep 17 00:00:00 2001 From: KIRAN KASHALKAR Date: Thu, 4 May 2017 14:48:37 -0400 Subject: [PATCH] Issue with viewing details about items in catalog Signed-off-by: KIRAN KASHALKAR --- .../src/src/components/EditDescriptorModelProperties.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js b/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js index 0e1746dda..c923ede7f 100644 --- a/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js +++ b/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js @@ -531,7 +531,7 @@ export default function EditDescriptorModelProperties(props) { if(fieldProperties) { //Check each case statement in model and see if it is present in container model. cases.map(function(c){ - if(fieldProperties.hasOwnProperty(c.optionValue.split('.')[1])) { + if(c.optionValue && fieldProperties.hasOwnProperty(c.optionValue.split('.')[1])) { utils.assignPathValue(container.model, ['uiState.choice', pathToChoice, 'selected'].join('.'), c.optionValue); } }); -- 2.25.1