Removed the albumSong workaround, as React-Admin's cache seems to behave better now
This commit is contained in:
@@ -111,7 +111,7 @@ const ContextMenu = ({
|
||||
const key = e.target.getAttribute('value')
|
||||
if (options[key].needData) {
|
||||
dataProvider
|
||||
.getList('albumSong', songQueryParams)
|
||||
.getList('song', songQueryParams)
|
||||
.then((response) => {
|
||||
let { data, ids } = extractSongsData(response)
|
||||
options[key].action(data, ids)
|
||||
|
||||
Reference in New Issue
Block a user