Skip to content

Commit

Permalink
Don't process queue item without details
Browse files Browse the repository at this point in the history
  • Loading branch information
markus101 authored and Qstick committed Dec 17, 2020
1 parent 2f3888f commit 62724e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/Store/Selectors/createQueueItemSelector.js
Expand Up @@ -5,7 +5,7 @@ function createQueueItemSelector() {
(state, { albumId }) => albumId,
(state) => state.queue.details.items,
(albumId, details) => {
if (!albumId) {
if (!albumId || !details) {
return null;
}

Expand Down

0 comments on commit 62724e7

Please sign in to comment.