[Properties] Hide rows without controls
Hide rows for domain object properties that do not have associated controls from the Edit Properties dialog; follow up for nasa/openmctweb#92
This commit is contained in:
@@ -54,6 +54,9 @@ define(
|
||||
var row = Object.create(property.getDefinition());
|
||||
row.key = index;
|
||||
return row;
|
||||
}).filter(function (row) {
|
||||
// Only show properties which are editable
|
||||
return row.control;
|
||||
})
|
||||
}]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user