This commit is contained in:
peterino2 2026-02-07 00:44:12 -08:00
parent a87e9a8fd1
commit c02fd261e4
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@
const isCached = M.cachedTracks.has(trackId);
const isActive = type === 'queue' && index === M.currentIndex;
// Library tracks are always draggable, queue tracks need edit permission
const isDraggable = type === 'library' || (type === 'queue' && canEditQueue) || (type === 'playlist' && isPlaylistOwner);
// Library/playlist always draggable (read access), queue needs edit permission
const isDraggable = type === 'library' || type === 'playlist' || (type === 'queue' && canEditQueue);
const div = M.trackComponent.render(track, {
view: type,