mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-09 22:22:41 +00:00
damn totalBrews won't go away
This commit is contained in:
@@ -91,7 +91,6 @@ const ArchivePage = createClass({
|
|||||||
pageSize: size,
|
pageSize: size,
|
||||||
v3: v3,
|
v3: v3,
|
||||||
legacy: legacy,
|
legacy: legacy,
|
||||||
totalBrews: null,
|
|
||||||
});
|
});
|
||||||
this.updateUrl(title, page, size, v3, legacy);
|
this.updateUrl(title, page, size, v3, legacy);
|
||||||
}
|
}
|
||||||
@@ -119,11 +118,11 @@ const ArchivePage = createClass({
|
|||||||
loadTotal: async function () {
|
loadTotal: async function () {
|
||||||
console.log('running loadTotal');
|
console.log('running loadTotal');
|
||||||
const { title, v3, legacy } = this.state;
|
const { title, v3, legacy } = this.state;
|
||||||
|
this.setState({
|
||||||
|
totalBrews: null,
|
||||||
|
});
|
||||||
|
|
||||||
if (title !== '') {
|
if (title !== '') {
|
||||||
this.setState({
|
|
||||||
totalBrews: null,
|
|
||||||
});
|
|
||||||
try {
|
try {
|
||||||
await request
|
await request
|
||||||
.get(
|
.get(
|
||||||
|
|||||||
Reference in New Issue
Block a user