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>
<NoticeBanner title="The audit logs page is in maintenance" className="mt-4"> {(window.location.origin.includes("https://app.infisical.com") ||
We are currently working on improving the performance of querying audit logs. However, window.location.origin.includes("https://gamma.infisical.com")) && (
please note that audit logs are still being published as usual, so there’s no <NoticeBanner title="The audit logs page is in maintenance" className="mt-4">
disruption to log generation. We are currently working on improving the performance of querying audit logs.
</NoticeBanner> However, please note that audit logs are still being published as usual, so there’s
no disruption to log generation.
</NoticeBanner>
)}
<div /> <div />
</div> </div>
<LogsSection filterClassName="static p-2" showFilters isOrgAuditLogs /> <LogsSection filterClassName="static p-2" showFilters isOrgAuditLogs />