mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 14:19:38 +00:00
Fix checkboxes and bulk download
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<td>
|
||||
<input #checkAllCheckbox type="checkbox" class="checkbox" (click)="$event.stopPropagation()" [(ngModel)]="selected" />
|
||||
<input type="checkbox" class="checkbox" (click)="$event.stopPropagation()" [(ngModel)]="selected" />
|
||||
</td>
|
||||
<td>
|
||||
<span *ngIf="song.length > 1" class="rounded-sm bg-accent text-accent-content px-1 mr-1 font-bold">{{ song.length }}</span> {{ song[0].name }}
|
||||
|
||||
@@ -13,7 +13,7 @@ export class ResultTableRowComponent implements OnInit {
|
||||
constructor(private selectionService: SelectionService) { }
|
||||
|
||||
ngOnInit() {
|
||||
this.selectionService.selections[this.groupId] = false
|
||||
this.selectionService.selections[this.groupId] = this.selectionService.isAllSelected()
|
||||
}
|
||||
|
||||
get groupId() {
|
||||
|
||||
Reference in New Issue
Block a user