client/hippo/models/query/info.js in hippo-fw-0.9.5 vs client/hippo/models/query/info.js in hippo-fw-0.9.6

- old
+ new

@@ -20,18 +20,22 @@ this.query.fields.forEach((f, i) => { if (f.visible) { indexes.push(i); } }); return indexes; } @computed get visibleFields() { - return filter(this.query.fields, f => f.visible); + return filter(this.query.fields, 'visible'); } @computed get queryableFields() { - return filter(this.query.fields, f => f.queryable); + return filter(this.query.fields, 'queryable'); } + @computed get visibleClauses() { + return filter(this.query.clauses, 'visible'); + } + @computed get loadableFields() { - return filter(this.query.fields, f => f.loadable); + return filter(this.query.fields, 'loadable'); } @computed get identifierField() { const property = this.query.src.identifierFieldName; return find(this.query.fields, { id: property });