optimize show filter

This commit is contained in:
2026-03-09 18:29:56 +01:00
parent 194f9ac556
commit 36e1241539
5 changed files with 45 additions and 13 deletions

View File

@@ -23,6 +23,7 @@ export class ShowService {
}
public read$ = (showId: string): Observable<Show | null> => this.showDataService.read$(showId);
public listPublicSince$ = (lastMonths: number): Observable<Show[]> => this.showDataService.listPublicSince$(lastMonths);
public list$(publishedOnly = false): Observable<Show[]> {
return this.userService.user$.pipe(