File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
apps/angular/59-content-projection-defer/src/app Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ interface Post {
2020 <app-expandable-card>
2121 <div title>Load Post</div>
2222 <div>
23- @if (postRessource .isLoading()) {
23+ @if (postResource .isLoading()) {
2424 Loading...
25- } @else if (postRessource .status() === ResourceStatus.Error) {
25+ } @else if (postResource .status() === ResourceStatus.Error) {
2626 Error...
2727 } @else {
28- @for (post of postRessource .value(); track post.id) {
28+ @for (post of postResource .value(); track post.id) {
2929 <div>{{ post.title }}</div>
3030 }
3131 }
@@ -36,7 +36,7 @@ interface Post {
3636 imports : [ ExpandableCard ] ,
3737} )
3838export class Page2 {
39- public postRessource = httpResource < Post [ ] > (
39+ public postResource = httpResource < Post [ ] > (
4040 'https://jsonplaceholder.typicode.com/posts' ,
4141 ) ;
4242 protected readonly ResourceStatus = ResourceStatus ;
You can’t perform that action at this time.
0 commit comments