Mercurial > hg > ng2-query-ismi
diff app/query-result.component.ts @ 45:dc4f0541f04d ng2-rc1
update to angular2-rc1. mostly working ;-(
author | casties |
---|---|
date | Tue, 14 Jun 2016 20:00:39 +0200 |
parents | c2946b7135cd |
children |
line wrap: on
line diff
--- a/app/query-result.component.ts Tue Jun 14 19:58:53 2016 +0200 +++ b/app/query-result.component.ts Tue Jun 14 20:00:39 2016 +0200 @@ -1,4 +1,4 @@ -import {Component, OnInit} from 'angular2/core'; +import {Component, OnInit} from '@angular/core'; import {QueryState} from './query-state'; @@ -14,9 +14,9 @@ <table> <tr> <th *ngIf="queryState.resultTypes=='node' && queryState.resultColumns" - *ngFor="#col of queryState.resultColumns">{{col?col.title:col}}</th> + *ngFor="let col of queryState.resultColumns">{{col?col.title:col}}</th> </tr> - <tr class="resultRow" *ngFor="#row of queryState.results" + <tr class="resultRow" *ngFor="let row of queryState.results" [rowData]="row" [rowType]="queryState.resultTypes" [columns]="queryState.resultColumns"> </tr>