Fixed: Queue Not Rendering

Fixes #4341
This commit is contained in:
Qstick 2020-04-23 14:36:46 -04:00
parent 0b113b9bab
commit d30c1b1385
1 changed files with 2 additions and 0 deletions

View File

@ -45,11 +45,13 @@ class Queue extends Component {
componentDidUpdate(prevProps) {
const {
items,
isFetching,
isMoviesFetching
} = this.props;
if (
(!isMoviesFetching && prevProps.isMoviesFetching) ||
(!isFetching && prevProps.isFetching) ||
(hasDifferentItems(prevProps.items, items) && !items.some((e) => e.movieId))
) {
this.setState((state) => {