Fixed bulk delete torrents header checkbox to be checked when there are any torrents.

This commit is contained in:
Roger Far 2022-10-18 11:05:20 -06:00
parent 0855366afe
commit 43da8c2220

View file

@ -10,7 +10,7 @@
<input
type="checkbox"
(click)="toggleSelectAll($event)"
[checked]="selectedTorrents.length === torrents.length"
[checked]="selectedTorrents.length > 0 && selectedTorrents.length === torrents.length"
/>
</th>
<th>Name</th>