mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
Support for Artist Disambiguation and Type
This commit is contained in:
@@ -66,6 +66,7 @@ class ArtistIndexRow extends Component {
|
||||
status,
|
||||
artistName,
|
||||
nameSlug,
|
||||
artistType,
|
||||
qualityProfile,
|
||||
languageProfile,
|
||||
nextAiring,
|
||||
@@ -129,6 +130,17 @@ class ArtistIndexRow extends Component {
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'artistType') {
|
||||
return (
|
||||
<VirtualTableRowCell
|
||||
key={name}
|
||||
className={styles[name]}
|
||||
>
|
||||
{artistType}
|
||||
</VirtualTableRowCell>
|
||||
);
|
||||
}
|
||||
|
||||
if (name === 'qualityProfileId') {
|
||||
return (
|
||||
<VirtualTableRowCell
|
||||
@@ -282,23 +294,6 @@ class ArtistIndexRow extends Component {
|
||||
);
|
||||
}
|
||||
|
||||
// if (name === 'useSceneNumbering') {
|
||||
// return (
|
||||
// <VirtualTableRowCell
|
||||
// key={name}
|
||||
// className={styles[name]}
|
||||
// >
|
||||
// <CheckInput
|
||||
// className={styles.checkInput}
|
||||
// name="useSceneNumbering"
|
||||
// value={useSceneNumbering}
|
||||
// isDisabled={true}
|
||||
// onChange={this.onUseSceneNumberingChange}
|
||||
// />
|
||||
// </VirtualTableRowCell>
|
||||
// );
|
||||
// }
|
||||
|
||||
if (name === 'actions') {
|
||||
return (
|
||||
<VirtualTableRowCell
|
||||
@@ -349,6 +344,7 @@ ArtistIndexRow.propTypes = {
|
||||
status: PropTypes.string.isRequired,
|
||||
artistName: PropTypes.string.isRequired,
|
||||
nameSlug: PropTypes.string.isRequired,
|
||||
artistType: PropTypes.string,
|
||||
qualityProfile: PropTypes.object.isRequired,
|
||||
languageProfile: PropTypes.object.isRequired,
|
||||
nextAiring: PropTypes.string,
|
||||
|
||||
Reference in New Issue
Block a user