refactor(analysis): simplify ranking cards

This commit is contained in:
digua committed 2026-07-16 21:12:21 +08:00
1 parent 041d2191da
commit 6967779650
21 files changed
+338 -647

No files matched your search

@@ -31,7 +31,7 @@ export type {
export function getMentionAnalysis(sessionId: string, filter?: TimeFilter): any {
const db = openDatabaseAdapter(sessionId)
if (!db) return { topMentioners: [], topMentioned: [], oneWay: [], twoWay: [], totalMentions: 0, memberDetails: [] }
if (!db) return { topMentioners: [], topMentioned: [], totalMentions: 0 }
return coreGetMentionAnalysis(db, filter)
}