diff --git a/ui/src/song/AlbumLinkField.js b/ui/src/song/AlbumLinkField.js index 443df08e4..493e5f633 100644 --- a/ui/src/song/AlbumLinkField.js +++ b/ui/src/song/AlbumLinkField.js @@ -11,6 +11,5 @@ export const AlbumLinkField = (props) => ( ) AlbumLinkField.defaultProps = { - source: 'albumId', addLabel: true } diff --git a/ui/src/song/SongList.js b/ui/src/song/SongList.js index 4e3ea35f7..2924224d6 100644 --- a/ui/src/song/SongList.js +++ b/ui/src/song/SongList.js @@ -6,8 +6,7 @@ import { List, NumberField, SearchInput, - TextField, - useTranslate + TextField } from 'react-admin' import { useMediaQuery } from '@material-ui/core' import { @@ -31,7 +30,6 @@ const SongFilter = (props) => ( ) const SongList = (props) => { - const translate = useTranslate() const dispatch = useDispatch() const isXsmall = useMediaQuery((theme) => theme.breakpoints.down('xs')) const isDesktop = useMediaQuery((theme) => theme.breakpoints.up('md')) @@ -65,13 +63,7 @@ const SongList = (props) => { rowClick={(id, basePath, record) => dispatch(setTrack(record))} > - {isDesktop && ( - - )} + {isDesktop && } {isDesktop && } {isDesktop && }