Readarr/frontend/src/Artist/ArtistNameLink.js
Qstick 26ef43f302
New: Manually Edit/Override Album Release (#181)
* New: Manually Edit/Override Album Release

* !fixup for comments, loading all albums instead of only artist albums
* fixup! UI Cleanup lint issues
* fixup! Remove AddAlbum service for now, fix refresh override selected release
* fixup! Last one... to fix updating albums with custom release set

Closes #109 
Closes #129 
Closes #128
2018-01-17 21:28:47 -05:00

20 lines
435 B
JavaScript

import PropTypes from 'prop-types';
import React from 'react';
import Link from 'Components/Link/Link';
function ArtistNameLink({ foreignArtistId, artistName }) {
const link = `/artist/${foreignArtistId}`;
return (
<Link to={link}>
{artistName}
</Link>
);
}
ArtistNameLink.propTypes = {
foreignArtistId: PropTypes.string.isRequired,
artistName: PropTypes.string.isRequired
};
export default ArtistNameLink;