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
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
1 changed files with 1 additions and 0 deletions

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");