mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
fix(web): localize toast messages and keep full session counts (#573)
Normalize hub toast text in the web client for i18n coverage (including Ready for input notifications) and stop deduplicating session rows by agentSessionId so outline/group counts reflect user-visible sessions. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -711,8 +711,8 @@ export function SessionList(props: {
|
||||
}
|
||||
|
||||
const allSessions = useMemo(
|
||||
() => deduplicateSessionsByAgentId(props.sessions, selectedSessionId),
|
||||
[props.sessions, selectedSessionId]
|
||||
() => props.sessions,
|
||||
[props.sessions]
|
||||
)
|
||||
const visibleSessions = useMemo(
|
||||
() => isSearching
|
||||
|
||||
Reference in New Issue
Block a user