mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 06:32:37 +00:00
catch 503 without title query
This commit is contained in:
@@ -125,7 +125,7 @@ const ArchivePage = createClass({
|
|||||||
renderFoundBrews() {
|
renderFoundBrews() {
|
||||||
const { title, brewCollection, page, totalPages, error } = this.state;
|
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') {
|
if(error === 'Error: Service Unavailable') {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user