Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
misc: display wish feature only on cloud
Sheen Capadngan1a6a5280a01a
diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsxindex a643e6d099..dc0ef370e0 100644--- a/frontend/src/layouts/AppLayout/AppLayout.tsx+++ b/frontend/src/layouts/AppLayout/AppLayout.tsx@@ -758,11 +758,8 @@ export const AppLayout = ({ children }: LayoutProps) => {: "mb-4"} flex w-full cursor-default flex-col items-center px-3 text-sm text-mineshaft-400`}>- {/* <div className={`${isLearningNoteOpen ? "block" : "hidden"} z-0 absolute h-60 w-[9.9rem] ${router.asPath.includes("org") ? "bottom-[8.4rem]" : "bottom-[5.4rem]"} bg-mineshaft-900 border border-mineshaft-600 mb-4 rounded-md opacity-30`}/>- <div className={`${isLearningNoteOpen ? "block" : "hidden"} z-0 absolute h-60 w-[10.7rem] ${router.asPath.includes("org") ? "bottom-[8.15rem]" : "bottom-[5.15rem]"} bg-mineshaft-900 border border-mineshaft-600 mb-4 rounded-md opacity-50`}/>- <div className={`${isLearningNoteOpen ? "block" : "hidden"} z-0 absolute h-60 w-[11.5rem] ${router.asPath.includes("org") ? "bottom-[7.9rem]" : "bottom-[4.9rem]"} bg-mineshaft-900 border border-mineshaft-600 mb-4 rounded-md opacity-70`}/>- <div className={`${isLearningNoteOpen ? "block" : "hidden"} z-0 absolute h-60 w-[12.3rem] ${router.asPath.includes("org") ? "bottom-[7.65rem]" : "bottom-[4.65rem]"} bg-mineshaft-900 border border-mineshaft-600 mb-4 rounded-md opacity-90`}/> */}- <WishForm />+ {(window.location.origin.includes("https://app.infisical.com") ||+ window.location.origin.includes("https://gamma.infisical.com")) && <WishForm />}{router.asPath.includes("org") && (<divonKeyDown={() => null}diff --git a/frontend/src/layouts/AppLayout/components/WishForm/WishForm.tsx b/frontend/src/layouts/AppLayout/components/WishForm/WishForm.tsxindex e09a63a5b8..641230bf2a 100644--- a/frontend/src/layouts/AppLayout/components/WishForm/WishForm.tsx+++ b/frontend/src/layouts/AppLayout/components/WishForm/WishForm.tsx@@ -71,7 +71,9 @@ export const WishForm = () => {</PopoverTrigger><PopoverContenthideCloseBtn- className="ml-2 mb-2 w-auto border border-mineshaft-600 bg-mineshaft-900 p-4 drop-shadow-2xl"+ align="start"+ alignOffset={25}+ className="mb-1 w-auto border border-mineshaft-600 bg-mineshaft-900 p-4 drop-shadow-2xl"sticky="always"><form onSubmit={handleSubmit(createWish)}>@@ -91,7 +93,7 @@ export const WishForm = () => {/></FormControl><div className="mt-2 flex justify-between border-t border-mineshaft-500 pt-4">- <PopoverPrimitive.Close>+ <PopoverPrimitive.Close asChild><Button className="mr-2 w-min" colorSchema="secondary">Cancel</Button>