Fix empty genres being displayed
This commit is contained in:
parent
941f0dc676
commit
f2c14e1d17
@ -133,7 +133,7 @@ TrackingLabel.propTypes = {
|
||||
};
|
||||
|
||||
const Genres = (props) => {
|
||||
if (props.genres === undefined) {
|
||||
if ((props.genres === undefined) || (props.genres.size === 0)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user