Fix model def column name method (#1224)
This commit is contained in:
parent
21b08af7a3
commit
fc2f66c514
|
@ -117,7 +117,7 @@ ModelDefinition.prototype.columnNames = function(connectorType) {
|
|||
var cols = [];
|
||||
for (var p in props) {
|
||||
if (props[p][connectorType]) {
|
||||
cols.push(props[connectorType].column || props[p][connectorType].columnName || p);
|
||||
cols.push(props[p][connectorType].column || props[p][connectorType].columnName || p);
|
||||
} else {
|
||||
cols.push(p);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue