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