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
@@ -11,11 +11,14 @@ export const AuditLogsPage = withPermission(
<div className="w-full max-w-7xl px-6"> <div className="w-full max-w-7xl px-6">
<div className="bg-bunker-800 py-6"> <div className="bg-bunker-800 py-6">
<p className="text-3xl font-semibold text-gray-200">Audit Logs</p> <p className="text-3xl font-semibold text-gray-200">Audit Logs</p>
{(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"> <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, We are currently working on improving the performance of querying audit logs.
please note that audit logs are still being published as usual, so there’s no However, please note that audit logs are still being published as usual, so there’s
disruption to log generation. no disruption to log generation.
</NoticeBanner> </NoticeBanner>
)}
<div /> <div />
</div> </div>
<LogsSection filterClassName="static p-2" showFilters isOrgAuditLogs /> <LogsSection filterClassName="static p-2" showFilters isOrgAuditLogs />