saving
This commit is contained in:
parent
a87e9a8fd1
commit
c02fd261e4
|
|
@ -107,8 +107,8 @@
|
||||||
const isCached = M.cachedTracks.has(trackId);
|
const isCached = M.cachedTracks.has(trackId);
|
||||||
const isActive = type === 'queue' && index === M.currentIndex;
|
const isActive = type === 'queue' && index === M.currentIndex;
|
||||||
|
|
||||||
// Library tracks are always draggable, queue tracks need edit permission
|
// Library/playlist always draggable (read access), queue needs edit permission
|
||||||
const isDraggable = type === 'library' || (type === 'queue' && canEditQueue) || (type === 'playlist' && isPlaylistOwner);
|
const isDraggable = type === 'library' || type === 'playlist' || (type === 'queue' && canEditQueue);
|
||||||
|
|
||||||
const div = M.trackComponent.render(track, {
|
const div = M.trackComponent.render(track, {
|
||||||
view: type,
|
view: type,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue