Merge changes I708f8fc2,Ife664a90,I5ea07463 into projects
authorkashalkar <kiran.kashalkar@riftio.com>
Thu, 4 May 2017 19:23:58 +0000 (21:23 +0200)
committerGerrit Code Review <root@osm.etsi.org>
Thu, 4 May 2017 19:23:58 +0000 (21:23 +0200)
* changes:
  Logging page only for platform roles
  User Enable/Disable
  Allow for project description change

skyquake/plugins/composer/src/src/components/EditDescriptorModelProperties.js

index c4b817e..ed29b26 100644 (file)
@@ -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);
                                        }
                                });