activity: fix "shown" counter when not in search

This commit is contained in:
Harvey Tindall
2023-10-23 18:36:32 +01:00
parent 3951116bdc
commit 3739634b63

View File

@@ -464,6 +464,7 @@ export class activityList {
this._search.onSearchBoxChange(true);
this._loadAllButton.classList.remove("unfocused");
} else {
this.shown = this.loaded;
this.setVisibility(this._ordering, true);
this._loadAllButton.classList.add("unfocused");
this._notFoundPanel.classList.add("unfocused");