Fetch-request source types, glass-pane create page, date formatting #18
@@ -81,14 +81,15 @@ export function ReportList({ reports, loading, fields, selectedId, onView, onReg
|
||||
{amounts}
|
||||
</Typography>
|
||||
)}
|
||||
{fields && (
|
||||
<Box sx={{ color: "text.secondary" }}>
|
||||
<ListCellRenderer field={fields.generatedAt} value={report.generated_at} />
|
||||
</Box>
|
||||
)}
|
||||
</Box>
|
||||
</Box>
|
||||
|
||||
{fields && (
|
||||
<Box sx={{ ml: "auto", flexShrink: 0, color: "text.secondary" }}>
|
||||
<ListCellRenderer field={fields.generatedAt} value={report.generated_at} />
|
||||
</Box>
|
||||
)}
|
||||
|
||||
<Box sx={{ display: "flex", gap: 0.5, flexShrink: 0 }}>
|
||||
<Button size="small" variant="contained" startIcon={<VisibilityIcon />} onClick={() => onView(report.id)}>
|
||||
View
|
||||
|
||||
Reference in New Issue
Block a user