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 = [];
|
var cols = [];
|
||||||
for (var p in props) {
|
for (var p in props) {
|
||||||
if (props[p][connectorType]) {
|
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 {
|
} else {
|
||||||
cols.push(p);
|
cols.push(p);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue