mirror of
https://github.com/markuryy/shark.git
synced 2025-12-16 13:01:01 +00:00
fix(ui): improve table layout and user info display
- Remove row highlighting in downloads queue table - Adjust column widths and row heights for better alignment - Fix playlist name decoding for empty params - Replace labels with spans in user info
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
import { page } from '$app/stores';
|
||||
import { settings, loadSettings } from '$lib/stores/settings';
|
||||
import { scanPlaylists } from '$lib/library/scanner';
|
||||
import { loadPlaylistTracks, type PlaylistWithTracks } from '$lib/library/playlist';
|
||||
import type { Track } from '$lib/types/track';
|
||||
import { loadPlaylistTracks } from '$lib/library/playlist';
|
||||
import type { Track, PlaylistWithTracks } from '$lib/types/track';
|
||||
|
||||
let playlistData = $state<PlaylistWithTracks | null>(null);
|
||||
let loading = $state(true);
|
||||
let error = $state<string | null>(null);
|
||||
|
||||
let playlistName = $derived(decodeURIComponent($page.params.name));
|
||||
let playlistName = $derived(decodeURIComponent($page.params.name ?? ''));
|
||||
|
||||
onMount(async () => {
|
||||
await loadSettings();
|
||||
|
||||
Reference in New Issue
Block a user