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}>
<MovieTitleLink {
titleSlug={movie.titleSlug} movie ?
title={movie.title} <MovieTitleLink
/> titleSlug={movie.titleSlug}
</TableRowCell> title={movie.title}
); /> :
} title
}
if (name === 'movie') {
return (
<TableRowCell key={name}>
<MovieTitleLink
titleSlug={movie.titleSlug}
title={movie.title}
/>
</TableRowCell> </TableRowCell>
); );
} }

Loading…
Cancel
Save