In some Angular 7 template I have two button (click) nested. The second one is unclikable : the first one only answer the (click). How may I set the second button clickable ?
This html code comes from an Angular 5 course : https://openclassrooms.com/fr/courses/4668271-developpez-des-applications-web-avec-angular/5091266-creez-une-application-complete-avec-angular-et-firebase
<button
class="list-group-item"
*ngFor="let book of books; let id = index"
(click)="onViewBook(id)">
<h3 class="list-group-item-heading">
Titre : {{ book.title }}
<!-- ignored code starts here -->
<button class="btn btn-default pull-right"
(click)="onDeleteBook(book)">
<span class="glyphicon glyphicon-minus"></span>
</button>
<!-- end of ignored code -->
</h3>
<p class="list-group-item-text">
Auteur : {{ book.author }}</p>
</button>