diff app/query-result-row.component.ts @ 45:dc4f0541f04d ng2-rc1

update to angular2-rc1. mostly working ;-(
author casties
date Tue, 14 Jun 2016 20:00:39 +0200
parents 930fe7460f6b
children
line wrap: on
line diff
--- a/app/query-result-row.component.ts	Tue Jun 14 19:58:53 2016 +0200
+++ b/app/query-result-row.component.ts	Tue Jun 14 20:00:39 2016 +0200
@@ -1,10 +1,10 @@
-import {Component} from 'angular2/core';
+import {Component} from '@angular/core';
 
 @Component({
     selector: 'tr.resultRow',
     template: `
         <td style="vertical-align: top;"
-            *ngIf="rowType=='node'" *ngFor="#col of columns">
+            *ngIf="rowType=='node'" *ngFor="let col of columns">
             <a *ngIf="col && col.name=='link'" href="{{rowData[col.name]}}" target="_blank">Link</a>
             <span *ngIf="col && col.name!='link'">{{rowData[col.name]}}</span>
         </td>