mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-27 02:52:43 +00:00
catch 503 without title query
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user