Fixed: Queue Error on Unknown Items

pull/3564/head
Qstick 6 years ago
parent 91ab518dfb
commit b1d69e3949

@ -133,21 +133,14 @@ class QueueRow extends Component {
if (name === 'movie.sortTitle') { if (name === 'movie.sortTitle') {
return ( return (
<TableRowCell key={name}> <TableRowCell key={name}>
{
movie ?
<MovieTitleLink <MovieTitleLink
titleSlug={movie.titleSlug} titleSlug={movie.titleSlug}
title={movie.title} title={movie.title}
/> /> :
</TableRowCell> title
);
} }
if (name === 'movie') {
return (
<TableRowCell key={name}>
<MovieTitleLink
titleSlug={movie.titleSlug}
title={movie.title}
/>
</TableRowCell> </TableRowCell>
); );
} }

Loading…
Cancel
Save