1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Null Check firstQueueItem

This commit is contained in:
Qstick 2020-09-20 23:02:18 -04:00
parent 1898114d8c
commit e56a784e4c

View File

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