misc: made it specific for cloud

This commit is contained in:
Sheen Capadngan
2024-09-25 00:31:13 +08:00
parent ccae63936c
commit 59f3581370

View File

@@ -11,11 +11,14 @@ export const AuditLogsPage = withPermission(
<div className="w-full max-w-7xl px-6">
<div className="bg-bunker-800 py-6">
<p className="text-3xl font-semibold text-gray-200">Audit Logs</p>
<NoticeBanner title="The audit logs page is in maintenance" className="mt-4">
We are currently working on improving the performance of querying audit logs. However,
please note that audit logs are still being published as usual, so there’s no
disruption to log generation.
</NoticeBanner>
{(window.location.origin.includes("https://app.infisical.com") ||
window.location.origin.includes("https://gamma.infisical.com")) && (
<NoticeBanner title="The audit logs page is in maintenance" className="mt-4">
We are currently working on improving the performance of querying audit logs.
However, please note that audit logs are still being published as usual, so there’s
no disruption to log generation.
</NoticeBanner>
)}
<div />
</div>
<LogsSection filterClassName="static p-2" showFilters isOrgAuditLogs />