@if (showSidebar$ | async) {
@if (privateShows$ | async; as privateShows) { @if ((filterActive$ | async) ?? false) {
Filter aktiv: {{ privateShows.length }} Veranstaltungen angezeigt.
} @for (show of privateShows; track trackBy($index, show)) { }
Neue Veranstaltung anlegen
} @if (publicShows$ | async; as shows) { @if (shows.length > 0 || ((filterActive$ | async) ?? false)) { @if ((filterActive$ | async) ?? false) {
Filter aktiv: {{ shows.length }} Veranstaltungen angezeigt.
} @for (show of shows; track trackBy($index, show)) { }
} }
} @else {
@if (publicShows$ | async; as shows) { @if (shows.length > 0) { @for (show of shows; track trackBy($index, show)) { } } }
}