mirror of https://github.com/lidarr/Lidarr
parent
015d2b1396
commit
d7433291b8
|
@ -6,6 +6,7 @@ import ModalBody from 'Components/Modal/ModalBody';
|
||||||
import ModalContent from 'Components/Modal/ModalContent';
|
import ModalContent from 'Components/Modal/ModalContent';
|
||||||
import ModalFooter from 'Components/Modal/ModalFooter';
|
import ModalFooter from 'Components/Modal/ModalFooter';
|
||||||
import ModalHeader from 'Components/Modal/ModalHeader';
|
import ModalHeader from 'Components/Modal/ModalHeader';
|
||||||
|
import Scroller from 'Components/Scroller/Scroller';
|
||||||
import Table from 'Components/Table/Table';
|
import Table from 'Components/Table/Table';
|
||||||
import TableBody from 'Components/Table/TableBody';
|
import TableBody from 'Components/Table/TableBody';
|
||||||
import { scrollDirections } from 'Helpers/Props';
|
import { scrollDirections } from 'Helpers/Props';
|
||||||
|
@ -52,26 +53,30 @@ class SelectAlbumReleaseModalContent extends Component {
|
||||||
Overrriding a release here will <b>disable automatic release selection</b> for that album in future.
|
Overrriding a release here will <b>disable automatic release selection</b> for that album in future.
|
||||||
</Alert>
|
</Alert>
|
||||||
|
|
||||||
<Table
|
<Scroller className={styles.scroller}>
|
||||||
columns={columns}
|
{
|
||||||
{...otherProps}
|
<Table
|
||||||
>
|
columns={columns}
|
||||||
<TableBody>
|
{...otherProps}
|
||||||
{
|
>
|
||||||
albums.map((item) => {
|
<TableBody>
|
||||||
return (
|
{
|
||||||
<SelectAlbumReleaseRow
|
albums.map((item) => {
|
||||||
key={item.album.id}
|
return (
|
||||||
matchedReleaseId={item.matchedReleaseId}
|
<SelectAlbumReleaseRow
|
||||||
columns={columns}
|
key={item.album.id}
|
||||||
onAlbumReleaseSelect={onAlbumReleaseSelect}
|
matchedReleaseId={item.matchedReleaseId}
|
||||||
{...item.album}
|
columns={columns}
|
||||||
/>
|
onAlbumReleaseSelect={onAlbumReleaseSelect}
|
||||||
);
|
{...item.album}
|
||||||
})
|
/>
|
||||||
}
|
);
|
||||||
</TableBody>
|
})
|
||||||
</Table>
|
}
|
||||||
|
</TableBody>
|
||||||
|
</Table>
|
||||||
|
}
|
||||||
|
</Scroller>
|
||||||
</ModalBody>
|
</ModalBody>
|
||||||
|
|
||||||
<ModalFooter>
|
<ModalFooter>
|
||||||
|
|
Loading…
Reference in New Issue