Skip to content

Commit

Permalink
Fixed: Artist Type can be null/blank
Browse files Browse the repository at this point in the history
  • Loading branch information
Qstick committed Aug 16, 2019
1 parent aa794a7 commit c4a0677
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/Artist/Details/ArtistDetails.js
Expand Up @@ -680,7 +680,7 @@ ArtistDetails.propTypes = {
statistics: PropTypes.object.isRequired,
qualityProfileId: PropTypes.number.isRequired,
monitored: PropTypes.bool.isRequired,
artistType: PropTypes.string.isRequired,
artistType: PropTypes.string,
albumTypes: PropTypes.arrayOf(PropTypes.string),
status: PropTypes.string.isRequired,
overview: PropTypes.string.isRequired,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Artist/Editor/ArtistEditorRow.js
Expand Up @@ -101,7 +101,7 @@ ArtistEditorRow.propTypes = {
status: PropTypes.string.isRequired,
foreignArtistId: PropTypes.string.isRequired,
artistName: PropTypes.string.isRequired,
artistType: PropTypes.string.isRequired,
artistType: PropTypes.string,
monitored: PropTypes.bool.isRequired,
metadataProfile: PropTypes.object.isRequired,
qualityProfile: PropTypes.object.isRequired,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/Artist/Index/Table/ArtistStatusCell.js
Expand Up @@ -39,7 +39,7 @@ function ArtistStatusCell(props) {

ArtistStatusCell.propTypes = {
className: PropTypes.string.isRequired,
artistType: PropTypes.string.isRequired,
artistType: PropTypes.string,
monitored: PropTypes.bool.isRequired,
status: PropTypes.string.isRequired,
component: PropTypes.elementType
Expand Down

0 comments on commit c4a0677

Please sign in to comment.