Actually fixed error rending queue row when quality is missing

This commit is contained in:
Mark McDowall 2020-03-19 10:10:36 -07:00
parent 00c922875f
commit bc01384cc7
1 changed files with 7 additions and 5 deletions

View File

@ -222,11 +222,13 @@ class QueueRow extends Component {
if (name === 'quality') { if (name === 'quality') {
return ( return (
<TableRowCell key={name}> <TableRowCell key={name}>
quality ? {
<EpisodeQuality quality ?
quality={quality} <EpisodeQuality
/> : quality={quality}
null /> :
null
}
</TableRowCell> </TableRowCell>
); );
} }