mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Null Check firstQueueItem
This commit is contained in:
@@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user