activity: fix "shown" counter when not in search

activity-log
Harvey Tindall 1 year ago
parent 3951116bdc
commit 3739634b63
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

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

Loading…
Cancel
Save