dev/playlists #13
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue