From 1a6a5280a01acee034f88c53636be0a9d9de730e Mon Sep 17 00:00:00 2001 From: Sheen Capadngan Date: Fri, 5 Jul 2024 19:42:38 +0800 Subject: [PATCH] misc: display wish feature only on cloud --- frontend/src/layouts/AppLayout/AppLayout.tsx | 7 ++----- .../src/layouts/AppLayout/components/WishForm/WishForm.tsx | 6 ++++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/frontend/src/layouts/AppLayout/AppLayout.tsx b/frontend/src/layouts/AppLayout/AppLayout.tsx index a643e6d09..dc0ef370e 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`} > - {/*
-
-
-
*/} - + {(window.location.origin.includes("https://app.infisical.com") || + window.location.origin.includes("https://gamma.infisical.com")) && } {router.asPath.includes("org") && (
null} diff --git a/frontend/src/layouts/AppLayout/components/WishForm/WishForm.tsx b/frontend/src/layouts/AppLayout/components/WishForm/WishForm.tsx index e09a63a5b..641230bf2 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 = () => {
@@ -91,7 +93,7 @@ export const WishForm = () => { />
- +