mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-26 18:12:40 +00:00
don't search on reload without title
This commit is contained in:
@@ -41,7 +41,10 @@ const ArchivePage = createClass({
|
||||
};
|
||||
},
|
||||
componentDidMount : function() {
|
||||
this.loadPage(this.state.page, false);
|
||||
if (this.state.title !== '') {
|
||||
this.loadPage(this.state.page, false);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
updateStateWithBrews : function (brews, page, totalPages, totalBrews) {
|
||||
|
||||
Reference in New Issue
Block a user