mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-26 02:04:37 +08:00
refactor(analysis): simplify ranking cards
This commit is contained in:
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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user