@if (filteredBookmarks().length === 0) {
bookmark_border
No bookmarks found
@if (searchQuery()) {
Try changing your search or category filter
} @else if (selectedCategory() !== 'all') {
Try selecting a different category
} @else {
Add some bookmarks to get started
}
} @else {
@for (bookmark of filteredBookmarks(); track bookmark.id) {
{{ bookmark.title }}
{{ bookmark.url }}
@if (bookmark.description) {
{{ bookmark.description }}
}
@for (categoryId of bookmark.categories.slice(1); track categoryId) {
@if (getCategoryById(categoryId); as category) {
{{ category.name }}
}
}
Added: {{ getFormattedDate(bookmark.createdAt) }}
}
}