Mercurial > hg > ng2-query-ismi
changeset 12:1843b12eff9a
cleaning output.
author | casties |
---|---|
date | Thu, 21 Jan 2016 11:16:13 +0100 |
parents | 6989cd00e8d7 |
children | 98b435bb6c0c |
files | app/query-result-row.component.ts app/query-result.component.ts app/query.service.ts |
diffstat | 3 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/app/query-result-row.component.ts Wed Jan 20 19:49:10 2016 +0100 +++ b/app/query-result-row.component.ts Thu Jan 21 11:16:13 2016 +0100 @@ -3,7 +3,6 @@ @Component({ selector: 'query-result-row', template: ` - <td *ngIf="rowType=='node'">{{rowData.type}}</td> <td *ngIf="rowType=='node'">{{rowData.label}}</td> <td *ngIf="rowType=='text'">{{rowData}}</td> `,
--- a/app/query-result.component.ts Wed Jan 20 19:49:10 2016 +0100 +++ b/app/query-result.component.ts Thu Jan 21 11:16:13 2016 +0100 @@ -12,7 +12,6 @@ <p>Query results ({{queryState.resultInfo}}):</p> <table> <tr> - <th *ngIf="queryState.resultTypes=='node'">Type</th> <th *ngIf="queryState.resultTypes=='node'">Label</th> </tr> <tr *ngFor="#row of queryState.results">
--- a/app/query.service.ts Wed Jan 20 19:49:10 2016 +0100 +++ b/app/query.service.ts Thu Jan 21 11:16:13 2016 +0100 @@ -160,7 +160,7 @@ for (var t in resTypes) { info += t + '(' + resTypes[t] + ') '; } - this.state.resultInfo = info; + this.state.resultInfo = info.substr(0, info.length-1); }, err => console.error("neo4j result error=", err), () => console.debug('neo4j result query Complete')