0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 07:12:39 +00:00

catch 503 without title query

This commit is contained in:
Víctor Losada Hernández
2024-02-15 10:43:12 +01:00
parent 6a11cd0e28
commit ffdbe46a23

View File

@@ -125,7 +125,7 @@ const ArchivePage = createClass({
renderFoundBrews() {
const { title, brewCollection, page, totalPages, error } = this.state;
if(title === '') {return (<div className='foundBrews noBrews'><h3>Whenever you want, just start typing...</h3></div>);}
if(title === '' && error === null) {return (<div className='foundBrews noBrews'><h3>Whenever you want, just start typing...</h3></div>);}
if(error === 'Error: Service Unavailable') {
return (