@let items = history.items();
@if (items.recent.length) {
Recent
@for (item of items.recent; track item.id; let idx = $index) {
-
history
}
}
@if (items.favorite.length) {
Favorite
@for (item of items.favorite; track item.id; let idx = $index) {
-
star
}
}