@if (allPlaylistsLoaded()) {
search
@defer {
@if (playlists$ | async; as playlists) {
@if (playlists.length === 0) {
search
{{ 'HOME.PLAYLISTS.NO_PLAYLISTS' | translate }}
{{ 'HOME.PLAYLISTS.ADD_FIRST' | translate }}
} @else {
star
{{ 'HOME.PLAYLISTS.GLOBAL_FAVORITES' | translate }}
{{
'HOME.PLAYLISTS.GLOBAL_FAVORITES_DESCRIPTION'
| translate
}}
@for (item of playlists; track item._id; let last = $last) {
}
}
}
} @placeholder {
@for (a of ghostElements; track $index) {
}
}
}