fix(search): add offset parameter for proper pagination
- Add offset parameter to search_albums, search_tracks, search_artists - Backend now properly passes offset to Qobuz API - Fixes duplicate results when loading more search results
This commit is contained in:
1 parent
5669ae023a
commit
7a53d62341
6 files changed
+503
-11
No files matched your search
@@ -157,13 +157,17 @@ impl QobuzClient {
|
||||
// === Search endpoints ===
|
||||
|
||||
/// Search for albums
|
||||
pub async fn search_albums(&self, query: &str, limit: u32) -> Result<SearchResultsPage<Album>> {
|
||||
pub async fn search_albums(&self, query: &str, limit: u32, offset: u32) -> Result<SearchResultsPage<Album>> {
|
||||
let url = endpoints::build_url(paths::ALBUM_SEARCH);
|
||||
let response: Value = self
|
||||
.http
|
||||
.get(&url)
|
||||
.header("X-App-Id", self.app_id().await?)
|
||||
.query(&[("query", query), ("limit", &limit.to_string())])
|
||||
.query(&[
|
||||
("query", query),
|
||||
("limit", &limit.to_string()),
|
||||
("offset", &offset.to_string()),
|
||||
])
|
||||
.send()
|
||||
.await?
|
||||
.json()
|
||||
@@ -177,13 +181,17 @@ impl QobuzClient {
|
||||
}
|
||||
|
||||
/// Search for tracks
|
||||
pub async fn search_tracks(&self, query: &str, limit: u32) -> Result<SearchResultsPage<Track>> {
|
||||
pub async fn search_tracks(&self, query: &str, limit: u32, offset: u32) -> Result<SearchResultsPage<Track>> {
|
||||
let url = endpoints::build_url(paths::TRACK_SEARCH);
|
||||
let response: Value = self
|
||||
.http
|
||||
.get(&url)
|
||||
.header("X-App-Id", self.app_id().await?)
|
||||
.query(&[("query", query), ("limit", &limit.to_string())])
|
||||
.query(&[
|
||||
("query", query),
|
||||
("limit", &limit.to_string()),
|
||||
("offset", &offset.to_string()),
|
||||
])
|
||||
.send()
|
||||
.await?
|
||||
.json()
|
||||
@@ -197,13 +205,17 @@ impl QobuzClient {
|
||||
}
|
||||
|
||||
/// Search for artists
|
||||
pub async fn search_artists(&self, query: &str, limit: u32) -> Result<SearchResultsPage<Artist>> {
|
||||
pub async fn search_artists(&self, query: &str, limit: u32, offset: u32) -> Result<SearchResultsPage<Artist>> {
|
||||
let url = endpoints::build_url(paths::ARTIST_SEARCH);
|
||||
let response: Value = self
|
||||
.http
|
||||
.get(&url)
|
||||
.header("X-App-Id", self.app_id().await?)
|
||||
.query(&[("query", query), ("limit", &limit.to_string())])
|
||||
.query(&[
|
||||
("query", query),
|
||||
("limit", &limit.to_string()),
|
||||
("offset", &offset.to_string()),
|
||||
])
|
||||
.send()
|
||||
.await?
|
||||
.json()
|
||||
@@ -251,12 +263,33 @@ impl QobuzClient {
|
||||
}
|
||||
|
||||
/// Get artist by ID
|
||||
pub async fn get_artist(&self, artist_id: u64, with_albums: bool) -> Result<Artist> {
|
||||
pub async fn get_artist(
|
||||
&self,
|
||||
artist_id: u64,
|
||||
with_albums: bool,
|
||||
) -> Result<Artist> {
|
||||
self.get_artist_with_pagination(artist_id, with_albums, None, None).await
|
||||
}
|
||||
|
||||
/// Get artist by ID with album pagination
|
||||
pub async fn get_artist_with_pagination(
|
||||
&self,
|
||||
artist_id: u64,
|
||||
with_albums: bool,
|
||||
limit: Option<u32>,
|
||||
offset: Option<u32>,
|
||||
) -> Result<Artist> {
|
||||
let url = endpoints::build_url(paths::ARTIST_GET);
|
||||
let mut query = vec![("artist_id", artist_id.to_string())];
|
||||
if with_albums {
|
||||
query.push(("extra", "albums".to_string()));
|
||||
}
|
||||
if let Some(l) = limit {
|
||||
query.push(("limit", l.to_string()));
|
||||
}
|
||||
if let Some(o) = offset {
|
||||
query.push(("offset", o.to_string()));
|
||||
}
|
||||
|
||||
let response: Value = self
|
||||
.http
|
||||
|
||||
@@ -136,6 +136,31 @@ pub struct Artist {
|
||||
pub image: Option<ImageSet>,
|
||||
#[serde(default)]
|
||||
pub albums_count: Option<u32>,
|
||||
/// Biography (available when fetching full artist details)
|
||||
#[serde(default)]
|
||||
pub biography: Option<ArtistBiography>,
|
||||
/// Albums (available when fetching with extra=albums)
|
||||
#[serde(default)]
|
||||
pub albums: Option<ArtistAlbums>,
|
||||
}
|
||||
|
||||
/// Artist biography content
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct ArtistBiography {
|
||||
pub summary: Option<String>,
|
||||
pub content: Option<String>,
|
||||
pub source: Option<String>,
|
||||
}
|
||||
|
||||
/// Artist albums container
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct ArtistAlbums {
|
||||
pub items: Vec<Album>,
|
||||
pub total: u32,
|
||||
#[serde(default)]
|
||||
pub offset: u32,
|
||||
#[serde(default)]
|
||||
pub limit: u32,
|
||||
}
|
||||
|
||||
/// Playlist model
|
||||
|
||||
@@ -9,11 +9,12 @@ use crate::AppState;
|
||||
pub async fn search_albums(
|
||||
query: String,
|
||||
limit: Option<u32>,
|
||||
offset: Option<u32>,
|
||||
state: State<'_, AppState>,
|
||||
) -> Result<SearchResultsPage<Album>, String> {
|
||||
let client = state.client.lock().await;
|
||||
client
|
||||
.search_albums(&query, limit.unwrap_or(20))
|
||||
.search_albums(&query, limit.unwrap_or(20), offset.unwrap_or(0))
|
||||
.await
|
||||
.map_err(|e| e.to_string())
|
||||
}
|
||||
@@ -22,11 +23,12 @@ pub async fn search_albums(
|
||||
pub async fn search_tracks(
|
||||
query: String,
|
||||
limit: Option<u32>,
|
||||
offset: Option<u32>,
|
||||
state: State<'_, AppState>,
|
||||
) -> Result<SearchResultsPage<Track>, String> {
|
||||
let client = state.client.lock().await;
|
||||
client
|
||||
.search_tracks(&query, limit.unwrap_or(20))
|
||||
.search_tracks(&query, limit.unwrap_or(20), offset.unwrap_or(0))
|
||||
.await
|
||||
.map_err(|e| e.to_string())
|
||||
}
|
||||
@@ -35,11 +37,12 @@ pub async fn search_tracks(
|
||||
pub async fn search_artists(
|
||||
query: String,
|
||||
limit: Option<u32>,
|
||||
offset: Option<u32>,
|
||||
state: State<'_, AppState>,
|
||||
) -> Result<SearchResultsPage<Artist>, String> {
|
||||
let client = state.client.lock().await;
|
||||
client
|
||||
.search_artists(&query, limit.unwrap_or(20))
|
||||
.search_artists(&query, limit.unwrap_or(20), offset.unwrap_or(0))
|
||||
.await
|
||||
.map_err(|e| e.to_string())
|
||||
}
|
||||
@@ -55,3 +58,17 @@ pub async fn get_track(track_id: u64, state: State<'_, AppState>) -> Result<Trac
|
||||
let client = state.client.lock().await;
|
||||
client.get_track(track_id).await.map_err(|e| e.to_string())
|
||||
}
|
||||
|
||||
/// Get artist with albums
|
||||
#[tauri::command]
|
||||
pub async fn get_artist(
|
||||
artist_id: u64,
|
||||
state: State<'_, AppState>,
|
||||
) -> Result<Artist, String> {
|
||||
log::info!("Command: get_artist {}", artist_id);
|
||||
let client = state.client.lock().await;
|
||||
client
|
||||
.get_artist(artist_id, true)
|
||||
.await
|
||||
.map_err(|e| e.to_string())
|
||||
}
|
||||
@@ -99,6 +99,7 @@ pub fn run() {
|
||||
commands::search_artists,
|
||||
commands::get_album,
|
||||
commands::get_track,
|
||||
commands::get_artist,
|
||||
// Playback commands
|
||||
commands::play_track,
|
||||
commands::pause_playback,
|
||||
|
||||
@@ -0,0 +1,325 @@
|
||||
<script lang="ts">
|
||||
import { ArrowLeft, User, ChevronDown, ChevronUp } from 'lucide-svelte';
|
||||
import AlbumCard from '../AlbumCard.svelte';
|
||||
|
||||
interface Album {
|
||||
id: string;
|
||||
title: string;
|
||||
artwork: string;
|
||||
year?: string;
|
||||
quality: string;
|
||||
}
|
||||
|
||||
interface Biography {
|
||||
summary?: string;
|
||||
content?: string;
|
||||
source?: string;
|
||||
}
|
||||
|
||||
interface Props {
|
||||
artist: {
|
||||
id: number;
|
||||
name: string;
|
||||
image?: string;
|
||||
albumsCount?: number;
|
||||
biography?: Biography;
|
||||
albums: Album[];
|
||||
totalAlbums: number;
|
||||
};
|
||||
onBack: () => void;
|
||||
onAlbumClick?: (albumId: string) => void;
|
||||
onLoadMore?: () => void;
|
||||
isLoadingMore?: boolean;
|
||||
}
|
||||
|
||||
let { artist, onBack, onAlbumClick, onLoadMore, isLoadingMore = false }: Props = $props();
|
||||
|
||||
let bioExpanded = $state(false);
|
||||
let imageError = $state(false);
|
||||
|
||||
function handleImageError() {
|
||||
imageError = true;
|
||||
}
|
||||
|
||||
// Get biography text (prefer summary, fall back to content)
|
||||
let bioText = $derived(
|
||||
artist.biography?.summary || artist.biography?.content || null
|
||||
);
|
||||
|
||||
// Truncate bio for collapsed view
|
||||
let truncatedBio = $derived(
|
||||
bioText && bioText.length > 300 ? bioText.slice(0, 300) + '...' : bioText
|
||||
);
|
||||
|
||||
let hasMoreAlbums = $derived(artist.albums.length < artist.totalAlbums);
|
||||
</script>
|
||||
|
||||
<div class="artist-detail">
|
||||
<!-- Back Navigation -->
|
||||
<button class="back-btn" onclick={onBack}>
|
||||
<ArrowLeft size={16} />
|
||||
<span>Back</span>
|
||||
</button>
|
||||
|
||||
<!-- Artist Header -->
|
||||
<div class="artist-header">
|
||||
<!-- Artist Image -->
|
||||
<div class="artist-image-container">
|
||||
{#if imageError || !artist.image}
|
||||
<div class="artist-image-placeholder">
|
||||
<User size={60} />
|
||||
</div>
|
||||
{:else}
|
||||
<img
|
||||
src={artist.image}
|
||||
alt={artist.name}
|
||||
class="artist-image"
|
||||
onerror={handleImageError}
|
||||
/>
|
||||
{/if}
|
||||
</div>
|
||||
|
||||
<!-- Artist Info -->
|
||||
<div class="artist-info">
|
||||
<h1 class="artist-name">{artist.name}</h1>
|
||||
<div class="artist-stats">
|
||||
{artist.totalAlbums || artist.albumsCount || 0} albums
|
||||
</div>
|
||||
|
||||
<!-- Biography -->
|
||||
{#if bioText}
|
||||
<div class="biography">
|
||||
<p class="bio-text">
|
||||
{bioExpanded ? bioText : truncatedBio}
|
||||
</p>
|
||||
{#if bioText.length > 300}
|
||||
<button class="bio-toggle" onclick={() => bioExpanded = !bioExpanded}>
|
||||
{#if bioExpanded}
|
||||
<ChevronUp size={16} />
|
||||
<span>Show less</span>
|
||||
{:else}
|
||||
<ChevronDown size={16} />
|
||||
<span>Read more</span>
|
||||
{/if}
|
||||
</button>
|
||||
{/if}
|
||||
{#if artist.biography?.source}
|
||||
<div class="bio-source">Source: {artist.biography.source}</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Divider -->
|
||||
<div class="divider"></div>
|
||||
|
||||
<!-- Discography Section -->
|
||||
<div class="discography">
|
||||
<h2 class="section-title">Discography</h2>
|
||||
|
||||
{#if artist.albums.length === 0}
|
||||
<div class="no-albums">No albums found</div>
|
||||
{:else}
|
||||
<div class="albums-grid">
|
||||
{#each artist.albums as album}
|
||||
<AlbumCard
|
||||
artwork={album.artwork}
|
||||
title={album.title}
|
||||
artist={album.year || ''}
|
||||
quality={album.quality}
|
||||
onclick={() => onAlbumClick?.(album.id)}
|
||||
/>
|
||||
{/each}
|
||||
</div>
|
||||
|
||||
{#if hasMoreAlbums}
|
||||
<div class="load-more-container">
|
||||
<button
|
||||
class="load-more-btn"
|
||||
onclick={onLoadMore}
|
||||
disabled={isLoadingMore}
|
||||
>
|
||||
{isLoadingMore ? 'Loading...' : `Load More (${artist.albums.length} of ${artist.totalAlbums})`}
|
||||
</button>
|
||||
</div>
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.artist-detail {
|
||||
width: 100%;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
.back-btn {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 14px;
|
||||
color: var(--text-muted);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
margin-bottom: 24px;
|
||||
transition: color 150ms ease;
|
||||
}
|
||||
|
||||
.back-btn:hover {
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
.artist-header {
|
||||
display: flex;
|
||||
gap: 32px;
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.artist-image-container {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.artist-image {
|
||||
width: 220px;
|
||||
height: 220px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.artist-image-placeholder {
|
||||
width: 220px;
|
||||
height: 220px;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
|
||||
color: var(--text-muted);
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
||||
}
|
||||
|
||||
.artist-info {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.artist-name {
|
||||
font-size: 36px;
|
||||
font-weight: 700;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.artist-stats {
|
||||
font-size: 16px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.biography {
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
.bio-text {
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.bio-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
font-size: 13px;
|
||||
color: var(--accent-primary);
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.bio-toggle:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.bio-source {
|
||||
font-size: 12px;
|
||||
color: var(--text-muted);
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
height: 1px;
|
||||
background-color: var(--bg-tertiary);
|
||||
margin: 32px 0;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 24px;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.no-albums {
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.albums-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
||||
gap: 24px;
|
||||
}
|
||||
|
||||
.load-more-container {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
padding: 32px 0;
|
||||
}
|
||||
|
||||
.load-more-btn {
|
||||
padding: 12px 32px;
|
||||
background-color: var(--bg-tertiary);
|
||||
border: 1px solid var(--bg-tertiary);
|
||||
border-radius: 8px;
|
||||
color: var(--text-primary);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
transition: all 150ms ease;
|
||||
}
|
||||
|
||||
.load-more-btn:hover:not(:disabled) {
|
||||
background-color: var(--accent-primary);
|
||||
border-color: var(--accent-primary);
|
||||
}
|
||||
|
||||
.load-more-btn:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (max-width: 768px) {
|
||||
.artist-header {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.artist-name {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.biography {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
+92
-1
@@ -13,6 +13,7 @@
|
||||
import SearchView from '$lib/components/views/SearchView.svelte';
|
||||
import SettingsView from '$lib/components/views/SettingsView.svelte';
|
||||
import AlbumDetailView from '$lib/components/views/AlbumDetailView.svelte';
|
||||
import ArtistDetailView from '$lib/components/views/ArtistDetailView.svelte';
|
||||
import PlaylistDetailView from '$lib/components/views/PlaylistDetailView.svelte';
|
||||
import FavoritesView from '$lib/components/views/FavoritesView.svelte';
|
||||
|
||||
@@ -52,6 +53,44 @@
|
||||
tracks?: { items: QobuzTrack[] };
|
||||
}
|
||||
|
||||
interface QobuzArtist {
|
||||
id: number;
|
||||
name: string;
|
||||
image?: { small?: string; thumbnail?: string; large?: string };
|
||||
albums_count?: number;
|
||||
biography?: {
|
||||
summary?: string;
|
||||
content?: string;
|
||||
source?: string;
|
||||
};
|
||||
albums?: {
|
||||
items: QobuzAlbum[];
|
||||
total: number;
|
||||
offset: number;
|
||||
limit: number;
|
||||
};
|
||||
}
|
||||
|
||||
interface ArtistDetail {
|
||||
id: number;
|
||||
name: string;
|
||||
image?: string;
|
||||
albumsCount?: number;
|
||||
biography?: {
|
||||
summary?: string;
|
||||
content?: string;
|
||||
source?: string;
|
||||
};
|
||||
albums: {
|
||||
id: string;
|
||||
title: string;
|
||||
artwork: string;
|
||||
year?: string;
|
||||
quality: string;
|
||||
}[];
|
||||
totalAlbums: number;
|
||||
}
|
||||
|
||||
interface Track {
|
||||
id: number;
|
||||
number: number;
|
||||
@@ -121,10 +160,11 @@
|
||||
let userInfo = $state<{ userName: string; subscription: string } | null>(null);
|
||||
|
||||
// View State
|
||||
type ViewType = 'home' | 'search' | 'library' | 'settings' | 'album' | 'playlist' | 'favorites';
|
||||
type ViewType = 'home' | 'search' | 'library' | 'settings' | 'album' | 'artist' | 'playlist' | 'favorites';
|
||||
let activeView = $state<ViewType>('home');
|
||||
let viewHistory = $state<ViewType[]>(['home']);
|
||||
let selectedAlbum = $state<AlbumDetail | null>(null);
|
||||
let selectedArtist = $state<ArtistDetail | null>(null);
|
||||
let selectedPlaylistId = $state<number | null>(null);
|
||||
|
||||
// Overlay States
|
||||
@@ -169,6 +209,9 @@
|
||||
if (activeView !== 'album') {
|
||||
selectedAlbum = null;
|
||||
}
|
||||
if (activeView !== 'artist') {
|
||||
selectedArtist = null;
|
||||
}
|
||||
if (activeView !== 'playlist') {
|
||||
selectedPlaylistId = null;
|
||||
}
|
||||
@@ -226,6 +269,47 @@
|
||||
};
|
||||
}
|
||||
|
||||
async function handleArtistClick(artistId: number) {
|
||||
try {
|
||||
showToast('Loading artist...', 'info');
|
||||
const artist = await invoke<QobuzArtist>('get_artist', { artistId });
|
||||
console.log('Artist details:', artist);
|
||||
|
||||
selectedArtist = convertQobuzArtist(artist);
|
||||
navigateTo('artist');
|
||||
hideToast();
|
||||
} catch (err) {
|
||||
console.error('Failed to load artist:', err);
|
||||
showToast('Failed to load artist', 'error');
|
||||
}
|
||||
}
|
||||
|
||||
function convertQobuzArtist(artist: QobuzArtist): ArtistDetail {
|
||||
const image = artist.image?.large || artist.image?.thumbnail || artist.image?.small;
|
||||
|
||||
return {
|
||||
id: artist.id,
|
||||
name: artist.name,
|
||||
image,
|
||||
albumsCount: artist.albums_count,
|
||||
biography: artist.biography,
|
||||
albums: artist.albums?.items?.map(album => {
|
||||
const artwork = album.image?.large || album.image?.thumbnail || album.image?.small || '';
|
||||
const quality = album.hires_streamable && album.maximum_bit_depth && album.maximum_sampling_rate
|
||||
? `${album.maximum_bit_depth}bit/${album.maximum_sampling_rate}kHz`
|
||||
: 'CD Quality';
|
||||
return {
|
||||
id: album.id,
|
||||
title: album.title,
|
||||
artwork,
|
||||
year: album.release_date_original?.split('-')[0],
|
||||
quality
|
||||
};
|
||||
}) || [],
|
||||
totalAlbums: artist.albums?.total || artist.albums_count || 0
|
||||
};
|
||||
}
|
||||
|
||||
function formatDuration(seconds: number): string {
|
||||
const mins = Math.floor(seconds / 60);
|
||||
const secs = Math.floor(seconds % 60);
|
||||
@@ -975,11 +1059,18 @@
|
||||
<AlbumDetailView
|
||||
album={selectedAlbum}
|
||||
onBack={goBack}
|
||||
onArtistClick={() => selectedAlbum && handleArtistClick(0)}
|
||||
onTrackPlay={handleAlbumTrackPlay}
|
||||
onPlayAll={handlePlayAllAlbum}
|
||||
onShuffleAll={handleShuffleAlbum}
|
||||
onAddToQueue={handleAddAlbumToQueue}
|
||||
/>
|
||||
{:else if activeView === 'artist' && selectedArtist}
|
||||
<ArtistDetailView
|
||||
artist={selectedArtist}
|
||||
onBack={goBack}
|
||||
onAlbumClick={handleAlbumClick}
|
||||
/>
|
||||
{:else if activeView === 'library'}
|
||||
<div class="placeholder-view">
|
||||
<h1>Library</h1>
|
||||
|
||||
Reference in new issue
Block a user