fix(ui): correctly enable the request button when partial requests are disabled with no quota
This commit is contained in:
@@ -379,7 +379,8 @@ const TvRequestModal: React.FC<RequestModalProps> = ({
|
|||||||
editRequest
|
editRequest
|
||||||
? false
|
? false
|
||||||
: !settings.currentSettings.partialRequestsEnabled &&
|
: !settings.currentSettings.partialRequestsEnabled &&
|
||||||
unrequestedSeasons.length > (quota?.tv.limit ?? 0)
|
quota?.tv.limit &&
|
||||||
|
unrequestedSeasons.length > quota.tv.limit
|
||||||
? true
|
? true
|
||||||
: getAllRequestedSeasons().length >= getAllSeasons().length ||
|
: getAllRequestedSeasons().length >= getAllSeasons().length ||
|
||||||
(settings.currentSettings.partialRequestsEnabled &&
|
(settings.currentSettings.partialRequestsEnabled &&
|
||||||
|
|||||||
Reference in New Issue
Block a user