mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 04:26:11 +00:00
misc: display retention settings only for self-hosted/dedicated
This commit is contained in:
+8
@@ -73,6 +73,14 @@ export const AuditLogsRetentionSection = () => {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// render only for dedicated/self-hosted instances of Infisical
|
||||||
|
if (
|
||||||
|
window.location.origin.includes("https://app.infisical.com") ||
|
||||||
|
window.location.origin.includes("https://gamma.infisical.com")
|
||||||
|
) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
const isAdmin = membership.roles.includes(ProjectMembershipRole.Admin);
|
const isAdmin = membership.roles.includes(ProjectMembershipRole.Admin);
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
Reference in New Issue
Block a user