From 3739634b632396bbf866ca70a10767394756aef0 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Mon, 23 Oct 2023 18:36:32 +0100 Subject: [PATCH] activity: fix "shown" counter when not in search --- ts/modules/activity.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/modules/activity.ts b/ts/modules/activity.ts index a579263..6bf2f2f 100644 --- a/ts/modules/activity.ts +++ b/ts/modules/activity.ts @@ -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");