0
0
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:
Víctor Losada Hernández
2024-02-15 16:20:08 +01:00
parent 1a80a74d4f
commit e08435568c

View File

@@ -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) {