refactor: usage chart

This commit is contained in:
jialin
2026-04-29 09:29:04 +08:00
committed by jialin
parent e7aac14ef1
commit 26880b4612
23 changed files with 720 additions and 170 deletions
@@ -16,7 +16,7 @@ export const getBreakdownRowKey = (
return `${record.api_key.label}`;
}
return record.last_active;
return `${record.date?.value || ''}-${record.model.label}-${record.user.label}-${record.api_key.label}`;
};
export default getBreakdownRowKey;