From 3f9e10f09c5c3e44e2c6ef71500119659c827650 Mon Sep 17 00:00:00 2001 From: Alexander Tereshkin Date: Fri, 12 Dec 2025 08:52:57 +0200 Subject: [PATCH] web: fix notification counter --- web/src/components/ak-nav-buttons.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/src/components/ak-nav-buttons.ts b/web/src/components/ak-nav-buttons.ts index 6cef27e44313..f88a0a2ddf5d 100644 --- a/web/src/components/ak-nav-buttons.ts +++ b/web/src/components/ak-nav-buttons.ts @@ -51,6 +51,11 @@ export class NavigationButtons extends WithSession(AKElement) { Styles, ]; + connectedCallback(): void { + super.connectedCallback(); + this.refreshNotifications(); + } + protected async refreshNotifications(): Promise { const { currentUser } = this;