Check permissions before adding songs to playlists
This commit is contained in:
@@ -3,3 +3,18 @@ export const REST_URL = '/api'
|
||||
export const M3U_MIME_TYPE = 'audio/x-mpegurl'
|
||||
|
||||
export const AUTO_THEME_ID = 'AUTO_THEME_ID'
|
||||
|
||||
export const DraggableTypes = {
|
||||
SONG: 'song',
|
||||
ALBUM: 'album',
|
||||
DISC: 'disc',
|
||||
ARTIST: 'artist',
|
||||
ALL: [],
|
||||
}
|
||||
|
||||
DraggableTypes.ALL.push(
|
||||
DraggableTypes.SONG,
|
||||
DraggableTypes.ALBUM,
|
||||
DraggableTypes.DISC,
|
||||
DraggableTypes.ARTIST
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user