Null Check firstQueueItem

pull/5043/head
Qstick 4 years ago
parent 1898114d8c
commit e56a784e4c

@ -72,8 +72,8 @@ function createMapStateToProps() {
showSearchAction, showSearchAction,
isRefreshingMovie, isRefreshingMovie,
isSearchingMovie, isSearchingMovie,
queueStatus: firstQueueItem.status, queueStatus: firstQueueItem ? firstQueueItem.status : null,
queueState: firstQueueItem.trackedDownloadState queueState: firstQueueItem ? firstQueueItem.trackedDownloadState : null
}; };
} }
); );

Loading…
Cancel
Save