chore: snapshot notifications hardening and css/docs alignment
This commit is contained in:
@@ -25,7 +25,9 @@ final class NotificationsSessionProvider implements SessionProvider
|
||||
return;
|
||||
}
|
||||
|
||||
$sessionStore->set(self::SESSION_KEY, $service->unreadCount($userId));
|
||||
$currentTenant = $sessionStore->get('current_tenant', []);
|
||||
$tenantId = is_array($currentTenant) ? (int) ($currentTenant['id'] ?? 0) : 0;
|
||||
$sessionStore->set(self::SESSION_KEY, $service->unreadCount($userId, $tenantId > 0 ? $tenantId : null));
|
||||
}
|
||||
|
||||
public function clear(): void
|
||||
|
||||
Reference in New Issue
Block a user