From 837fed81e7d5ac547281cd321274ce11c260c587 Mon Sep 17 00:00:00 2001 From: Geert Rademakes Date: Wed, 13 Aug 2025 16:23:30 +0200 Subject: [PATCH] feat(frontend): show drag preview for single-item drag as '1 song' badge --- packages/frontend/src/components/PaginatedSongList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/components/PaginatedSongList.tsx b/packages/frontend/src/components/PaginatedSongList.tsx index 3cf68f5..958c93e 100644 --- a/packages/frontend/src/components/PaginatedSongList.tsx +++ b/packages/frontend/src/components/PaginatedSongList.tsx @@ -318,7 +318,7 @@ export const PaginatedSongList: React.FC = memo(({ // Create a custom drag image with count badge when dragging multiple try { const count = ids.length; - if (count > 1) { + if (count >= 1) { // Build a lightweight preview element const preview = document.createElement('div'); preview.style.position = 'fixed';