Removed the albumSong workaround, as React-Admin's cache seems to behave better now

This commit is contained in:
Deluan
2021-06-15 11:31:41 -04:00
parent 667701be02
commit 8a56584aed
7 changed files with 7 additions and 15 deletions
+1 -1
View File
@@ -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)