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