Skip to content

Commit e74f374

Browse files
committed
CU-868evcm9a_Actualizar-ngx-jsonapi-a-Angular-19 auto-commit
1 parent f4c3c0f commit e74f374

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

demo/app/authors/components/author.component.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ <h3>Author #{{ author?.id }}, with books and photos</h3>
22
<demo-resource-info [resource]="author"></demo-resource-info>
33
<!-- <pre>authors.get('{{ author?.id }}', {{ '{' }} include: ['books', 'photos'] {{ '}' }});</pre> -->
44
<ul>
5-
<li>Name: <strong>{{ author?.attributes.name }}</strong></li>
6-
<li>Date of birth: <strong>{{ author?.attributes.date_of_birth | date }}</strong></li>
7-
<li>Date of dead: <strong>{{ author?.attributes.date_of_death | date }}</strong></li>
5+
<li>Name: <strong>{{ author?.attributes.name }}</strong></li>
6+
<li>Date of birth: <strong>{{ author?.attributes.date_of_birth | date }}</strong></li>
7+
<li>Date of dead: <strong>{{ author?.attributes.date_of_death | date }}</strong></li>
88
</ul>
99
<p>
10-
<button (click)="newAuthor()">New author</button>
11-
<button (click)="updateAuthor()">Update author</button>
12-
<button (click)="removeRelationship()">Remove relationship</button>
10+
<button (click)="newAuthor()">New author</button>
11+
<button (click)="updateAuthor()">Update author</button>
12+
<button (click)="removeRelationship()">Remove relationship</button>
1313
</p>
1414

1515
<h4>Photos</h4>
1616
<demo-collection-info [collection]="author?.relationships.photos"></demo-collection-info>
1717
@if (author?.relationships.photos.data.length === 0) {
18-
<span>This author don't have any photo :(</span>
18+
<span>This author don't have any photo :(</span>
1919
}
2020
@if (author?.relationships.photos.builded) {
2121
<span>
@@ -54,5 +54,5 @@ <h4>Books</h4>
5454
}
5555

5656
<p>
57-
<a routerLink="/authors">Volver</a>
57+
<a routerLink="/authors">Volver</a>
5858
</p>

0 commit comments

Comments
 (0)