diff --git a/js/extension/components/modals/Request.jsx b/js/extension/components/modals/Request.jsx index 8531e2d..eda9115 100644 --- a/js/extension/components/modals/Request.jsx +++ b/js/extension/components/modals/Request.jsx @@ -65,7 +65,7 @@ export default function RequestFormModal({ }); } // Set available requests from the response, else set max request from configuration - data.requestAvailable ? setAvailableRequest(+data.requestAvailable) : setAvailableRequest(+maxRequest); + data.requestAvailable || data.requestAvailable === 0 ? setAvailableRequest(+data.requestAvailable) : setAvailableRequest(+maxRequest); setCheckingLimit(false); }).catch(()=>{ setAvailableRequest(0);