From 62724e7054242bbca032cf36ecc6dd726e1517dd Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 26 Jul 2020 10:49:39 -0700 Subject: [PATCH] Don't process queue item without details --- frontend/src/Store/Selectors/createQueueItemSelector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Store/Selectors/createQueueItemSelector.js b/frontend/src/Store/Selectors/createQueueItemSelector.js index 089795ced..c85d7ed82 100644 --- a/frontend/src/Store/Selectors/createQueueItemSelector.js +++ b/frontend/src/Store/Selectors/createQueueItemSelector.js @@ -5,7 +5,7 @@ function createQueueItemSelector() { (state, { albumId }) => albumId, (state) => state.queue.details.items, (albumId, details) => { - if (!albumId) { + if (!albumId || !details) { return null; }