[READ-ONLY] Mirror of https://github.com/probablykasper/ferrum. Music library app for Mac, Linux and Windows ferrum.kasper.space
electron linux macos music music-library music-player napi windows
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix "Delete 0 songs?" confirmation being possible

Kasper (Sep 26, 2024, 6:41 AM +0200) 752c2659 c8084d7d

+3 -1
+3 -1
src/components/TrackList.svelte
··· 71 71 } 72 72 73 73 function handle_action(action: SelectedTracksAction) { 74 - if (action === 'Remove from Playlist') { 74 + if (selection.items.size === 0) { 75 + return 76 + } else if (action === 'Remove from Playlist') { 75 77 remove_from_playlist($current_playlist_id, selection.items_as_array()) 76 78 return 77 79 } else if (action === 'Delete from Library') {