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 {
20
20
<app-expandable-card>
21
21
<div title>Load Post</div>
22
22
<div>
23
- @if (postRessource .isLoading()) {
23
+ @if (postResource .isLoading()) {
24
24
Loading...
25
- } @else if (postRessource .status() === ResourceStatus.Error) {
25
+ } @else if (postResource .status() === ResourceStatus.Error) {
26
26
Error...
27
27
} @else {
28
- @for (post of postRessource .value(); track post.id) {
28
+ @for (post of postResource .value(); track post.id) {
29
29
<div>{{ post.title }}</div>
30
30
}
31
31
}
@@ -36,7 +36,7 @@ interface Post {
36
36
imports : [ ExpandableCard ] ,
37
37
} )
38
38
export class Page2 {
39
- public postRessource = httpResource < Post [ ] > (
39
+ public postResource = httpResource < Post [ ] > (
40
40
'https://jsonplaceholder.typicode.com/posts' ,
41
41
) ;
42
42
protected readonly ResourceStatus = ResourceStatus ;
You can’t perform that action at this time.
0 commit comments