Removed the albumSong workaround, as React-Admin's cache seems to behave better now
This commit is contained in:
@@ -33,14 +33,14 @@ const AlbumShowLayout = (props) => {
|
||||
<ReferenceManyField
|
||||
{...context}
|
||||
addLabel={false}
|
||||
reference="albumSong"
|
||||
reference="song"
|
||||
target="album_id"
|
||||
sort={{ field: 'album', order: 'ASC' }}
|
||||
perPage={0}
|
||||
pagination={null}
|
||||
>
|
||||
<AlbumSongs
|
||||
resource={'albumSong'}
|
||||
resource={'song'}
|
||||
exporter={false}
|
||||
album={record}
|
||||
actions={
|
||||
|
||||
Reference in New Issue
Block a user