Add SongContextMenu to Album Songs

This commit is contained in:
Deluan
2020-05-17 20:57:38 -04:00
parent 308163c2e0
commit 1afbbbf189
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -15,6 +15,7 @@ import { Card, useMediaQuery } from '@material-ui/core'
import { makeStyles } from '@material-ui/core/styles'
import { playTracks } from '../audioplayer'
import { DurationField, SongDetails, SongDatagridRow } from '../common'
import { SongContextMenu } from '../song/SongContextMenu'
const useStyles = makeStyles(
(theme) => ({
@@ -146,6 +147,7 @@ const AlbumSongs = (props) => {
)}
{isDesktop && <TextField source="artist" sortable={false} />}
<DurationField source="duration" sortable={false} />
<SongContextMenu />
</SongsDatagrid>
)}
</Card>