fix(usage-logs): preserve mobile log row field access
This commit is contained in:
@@ -183,6 +183,9 @@ function CommonLogsCard<TData>({
|
||||
|
||||
const modelCell = cells.get('model_name')
|
||||
const quotaCell = cells.get('quota')
|
||||
const original = cells.get('created_at')?.row.original as
|
||||
| Record<string, unknown>
|
||||
| undefined
|
||||
|
||||
return (
|
||||
<div className='space-y-2.5'>
|
||||
@@ -200,8 +203,8 @@ function CommonLogsCard<TData>({
|
||||
{t('Time')}
|
||||
</div>
|
||||
<MobileLogTimeStatus
|
||||
createdAt={cells.get('created_at')?.row.original?.created_at}
|
||||
type={cells.get('created_at')?.row.original?.type}
|
||||
createdAt={original?.created_at}
|
||||
type={original?.type}
|
||||
/>
|
||||
</div>
|
||||
<SummaryField
|
||||
|
||||
Reference in New Issue
Block a user