mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
refactor(category-content-view): improve readability of item iteration in template
This commit is contained in:
1 parent
a819bd057a
commit
456406fce9
1 file changed
+6
-1
@@ -1,6 +1,11 @@
|
||||
@if (items?.length > 0) {
|
||||
<div class="grid">
|
||||
@for (item of items | filterBy: searchPhrase() : 'name' | sortBy: sortType(); track $index) {
|
||||
@for (
|
||||
item of items
|
||||
| filterBy: searchPhrase() : 'name'
|
||||
| sortBy: sortType();
|
||||
track $index
|
||||
) {
|
||||
<mat-card (click)="itemClicked.emit(item)">
|
||||
<mat-card-content>
|
||||
@if (item.stream_icon || item.cover || item.logo) {
|
||||
|
||||
Reference in new issue
Block a user