added grid play button

This commit is contained in:
Srihari Chandana
2020-04-26 11:56:35 -04:00
committed by Deluan Quintão
parent 7ad9c385b5
commit 00666da9c1
2 changed files with 47 additions and 0 deletions
+4
View File
@@ -6,6 +6,7 @@ import { Link } from 'react-router-dom'
import { linkToRecord, Loading } from 'react-admin'
import subsonic from '../subsonic'
import { ArtistLinkField } from './ArtistLinkField'
import GridButton from './GridButton.js'
const useStyles = makeStyles((theme) => ({
root: {
@@ -80,6 +81,9 @@ const LoadedAlbumGrid = ({ ids, data, basePath, width }) => {
</ArtistLinkField>
</div>
}
actionIcon={
<GridButton id={id}/>
}
/>
</GridListTile>
))}