File tree Expand file tree Collapse file tree 4 files changed +12
-46
lines changed
frameworks/keyed/ember/app/components Expand file tree Collapse file tree 4 files changed +12
-46
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 42
42
43
43
44
44
{{ #if this.data.length }}
45
- <FastEach class =" table table-hover table-striped test-data" @items ={{ this.data }} as |item|>
46
- <TableRow class ={{ if (eq item ) ' danger' }} @item ={{ item }} @onSelect ={{ fn this.select item }} @onRemove ={{ fn this.remove item }} />
47
- </FastEach >
45
+ <table class =" table table-hover table-striped test-data" >
46
+ <tbody >
47
+ {{ #each this.data key =" id" as |item |}}
48
+ <tr class ={{ if (eq item ) ' danger' }} >
49
+ <td class =" col-md-1" >{{ item.id }} </td >
50
+ <td class =" col-md-4" ><a {{ on ' click' (fn this.select item )}} >{{ item.label }} </a ></td >
51
+ <td class =" col-md-1" ><a {{ on ' click' (fn this.remove item )}} ><span class =" glyphicon glyphicon-remove" aria-hidden =" true" ></span ></a ></td >
52
+ <td class =" col-md-6" ></td >
53
+ </tr >
54
+ {{ /each }}
55
+ </tbody >
56
+ </table >
48
57
{{ /if }}
49
58
50
59
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments