Don't process queue item without details

(cherry picked from commit dffdd3377e198ca1ce511ec2752eb53c18c92cb3)

# Conflicts:
#	frontend/src/Store/Selectors/createQueueItemSelector.js
pull/4833/head
Mark McDowall 4 years ago committed by Qstick
parent 18607c8b7b
commit ff52b15154

@ -5,7 +5,7 @@ function createQueueItemSelector() {
(state, { movieId }) => movieId, (state, { movieId }) => movieId,
(state) => state.queue.details.items, (state) => state.queue.details.items,
(movieId, details) => { (movieId, details) => {
if (!movieId) { if (!movieId || !details) {
return null; return null;
} }

Loading…
Cancel
Save