diff --git a/src/app/xtream-tauri/category-content-view/category-content-view.component.html b/src/app/xtream-tauri/category-content-view/category-content-view.component.html index f34ea9eb2..9aa2ec0c0 100644 --- a/src/app/xtream-tauri/category-content-view/category-content-view.component.html +++ b/src/app/xtream-tauri/category-content-view/category-content-view.component.html @@ -37,14 +37,34 @@
{{ i.title || 'No name' }}
+ } @empty { + } - 0) { + + } +} @else { + } diff --git a/src/app/xtream-tauri/category-content-view/category-content-view.component.ts b/src/app/xtream-tauri/category-content-view/category-content-view.component.ts index 576554e76..b7ff2effd 100644 --- a/src/app/xtream-tauri/category-content-view/category-content-view.component.ts +++ b/src/app/xtream-tauri/category-content-view/category-content-view.component.ts @@ -5,7 +5,8 @@ import { MatIcon } from '@angular/material/icon'; import { MatPaginatorModule, PageEvent } from '@angular/material/paginator'; import { MatTooltip } from '@angular/material/tooltip'; import { ActivatedRoute, Router } from '@angular/router'; -import { TranslateModule } from '@ngx-translate/core'; +import { TranslatePipe } from '@ngx-translate/core'; +import { PlaylistErrorViewComponent } from '../playlist-error-view/playlist-error-view.component'; import { XtreamStore } from '../xtream.store'; @Component({ @@ -18,7 +19,8 @@ import { XtreamStore } from '../xtream.store'; MatPaginatorModule, MatTooltip, NgOptimizedImage, - TranslateModule, + PlaylistErrorViewComponent, + TranslatePipe, ], }) export class CategoryContentViewComponent {