don't search on reload without title

This commit is contained in:
Víctor Losada Hernández committed 2024-02-15 16:20:08 +01:00
1 parent 1a80a74d4f
commit e08435568c
1 file changed
+3
@@ -41,7 +41,10 @@ const ArchivePage = createClass({
};
},
componentDidMount : function() {
if (this.state.title !== '') {
this.loadPage(this.state.page, false);
}
},
updateStateWithBrews : function (brews, page, totalPages, totalBrews) {