From 3675ba75a1448e3aa468abb95f177666f8edfa48 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 c4b817eb4..ed29b265a 100644 --- a/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js +++ b/skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js @@ -512,7 +512,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