File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
apps/signal/54-pipe-observable-to-signal/src/app Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1- import { AsyncPipe } from '@angular/common' ;
21import {
32 ChangeDetectionStrategy ,
43 Component ,
@@ -13,11 +12,11 @@ import { Product } from './product.model';
1312 selector : 'tr[product-row]' ,
1413 template : `
1514 <td>{{ productInfo.name }}</td>
16- <td>{{ productInfo.priceA | currency | async }}</td>
17- <td>{{ productInfo.priceB | currency | async }}</td>
18- <td>{{ productInfo.priceC | currency | async }}</td>
15+ <td>{{ productInfo.priceA | currency }}</td>
16+ <td>{{ productInfo.priceB | currency }}</td>
17+ <td>{{ productInfo.priceC | currency }}</td>
1918 ` ,
20- imports : [ AsyncPipe , CurrencyPipe ] ,
19+ imports : [ CurrencyPipe ] ,
2120 providers : [ CurrencyService ] ,
2221 changeDetection : ChangeDetectionStrategy . OnPush ,
2322} )
You can’t perform that action at this time.
0 commit comments