mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
refactor(console): audit log details page (#2514)
This commit is contained in:
parent
400735ba2f
commit
715b0192a3
2 changed files with 7 additions and 5 deletions
|
@ -46,6 +46,8 @@
|
|||
}
|
||||
|
||||
.body {
|
||||
margin-bottom: _.unit(6);
|
||||
|
||||
> :not(:first-child) {
|
||||
margin-top: _.unit(4);
|
||||
}
|
||||
|
|
|
@ -95,12 +95,12 @@ const AuditLogDetails = () => {
|
|||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
<TabNav>
|
||||
<TabNavItem href={`/audit-logs/${logId ?? ''}`}>
|
||||
{t('log_details.tab_details')}
|
||||
</TabNavItem>
|
||||
</TabNav>
|
||||
<Card className={classNames(styles.body, detailsStyles.body)}>
|
||||
<TabNav>
|
||||
<TabNavItem href={`/audit-logs/${logId ?? ''}`}>
|
||||
{t('log_details.tab_details')}
|
||||
</TabNavItem>
|
||||
</TabNav>
|
||||
<div className={styles.main}>
|
||||
<FormField title="log_details.raw_data">
|
||||
<CodeEditor language="json" value={JSON.stringify(data.payload, null, 2)} />
|
||||
|
|
Loading…
Add table
Reference in a new issue