Minor ui improvements

This commit is contained in:
Daniel Hougaard
2024-09-16 13:56:23 +04:00
parent 8a0b1bb427
commit 74653e7ed1
3 changed files with 3 additions and 6 deletions

View File

@@ -25,13 +25,13 @@ export const IntegrationAuditLogsSection = ({ integration, orgId }: Props) => {
<div className="mb-4 flex items-center justify-between border-b border-mineshaft-400 pb-4">
<p className="text-lg font-semibold text-gray-200">Integration Logs</p>
<p className="text-xs text-gray-400">
View integration logs from the past {auditLogsRetentionDays} days
Displaying audit logs from the last {auditLogsRetentionDays} days
</p>
</div>
<LogsSection
refetchInterval={4000}
remappedHeaders={{
Metadata: "Status"
Metadata: "Sync Status"
}}
showFilters={false}
presets={{

View File

@@ -40,9 +40,6 @@ export const UserAuditLogsSection = withPermission(
</Tooltip>
</div>
<LogsSection
remappedHeaders={{
Metadata: "Status"
}}
showFilters={showFilter}
filterClassName="bg-mineshaft-900 static"
presets={{

View File

@@ -471,7 +471,7 @@ export const LogsTableRow = ({ auditLog, isOrgAuditLogs, showActorColumn }: Prop
isDisabled={!event.metadata.syncMessage}
>
<Badge variant={event.metadata.isSynced ? "success" : "danger"}>
<p className="text-center">{event.metadata.isSynced ? "Synced" : "Not synced"}</p>
<p className="text-center">{event.metadata.isSynced ? "Successful" : "Failed"}</p>
</Badge>
</Tooltip>
</Td>