replace less variables

This commit is contained in:
2026-03-09 16:39:41 +01:00
parent 3fb2e8b341
commit 0b831e45d5
9 changed files with 22 additions and 48 deletions

View File

@@ -30,11 +30,7 @@ export class ShowService {
() => this.showDataService.list$,
(user: User | null, shows: Show[]) => ({user, shows})
),
map(s =>
s.shows
.filter(show => !show.archived)
.filter(show => show.published || (show.owner === s.user?.id && !publishedOnly))
)
map(s => s.shows.filter(show => !show.archived).filter(show => show.published || (show.owner === s.user?.id && !publishedOnly)))
);
}