mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-23 10:55:07 +00:00
[Library] Add Infinite Scrolling
Add infinite scrolling and fix selecting rows
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
<div class="border-t border-t-neutral p-2 flex gap-2 items-center max-w-full justify-between">
|
||||
<div class="flex items-center gap-[8px]">
|
||||
{{ (this.libraryService.tracks$ | async)?.length ?? 0 }} Songs
|
||||
<ng-container *ngIf="libraryService.selectedSongs$ | async as selectedSongs">
|
||||
<ng-container *ngIf="libraryService.tracks$ | async as tracks">
|
||||
{{ selectedSongs.length ? selectedSongs.length + '/' : '' }}{{ tracks.length }}
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
|
||||
<button class="btn btn-sm btn-primary" (click)="fileInput.click()">Import Setlist</button>
|
||||
@if ((this.libraryService.selectedSongs$ | async)!.length > 0) {
|
||||
<button class="btn btn-sm btn-primary" (click)="exportSelected()">Export Selected Setlist</button>
|
||||
|
||||
Reference in New Issue
Block a user