mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 10:18:16 +00:00
feature: app connections
This commit is contained in:
@@ -327,6 +327,7 @@ export const AppLayout = ({ children }: LayoutProps) => {
|
||||
</div>
|
||||
)}
|
||||
{!router.asPath.includes("org") &&
|
||||
!router.asPath.includes("app-connections") &&
|
||||
(!router.asPath.includes("personal") && currentWorkspace ? (
|
||||
<ProjectSelect />
|
||||
) : (
|
||||
@@ -339,7 +340,8 @@ export const AppLayout = ({ children }: LayoutProps) => {
|
||||
))}
|
||||
<div className={`px-1 ${!router.asPath.includes("personal") ? "block" : "hidden"}`}>
|
||||
<ProjectSidebarItem />
|
||||
{router.pathname.startsWith("/org") && (
|
||||
{(router.pathname.startsWith("/org") ||
|
||||
router.pathname.startsWith("/app-connections")) && (
|
||||
<Menu className="mt-4">
|
||||
<Link
|
||||
href={`/org/${currentOrg?.id}/${ProjectType.SecretManager}/overview`}
|
||||
|
||||
+2
-1
@@ -24,7 +24,8 @@ export const ProjectSidebarItem = () => {
|
||||
if (
|
||||
!currentWorkspace ||
|
||||
router.asPath.startsWith("personal") ||
|
||||
router.asPath.startsWith("integrations")
|
||||
router.asPath.startsWith("integrations") ||
|
||||
router.asPath.startsWith("/app-connections")
|
||||
) {
|
||||
return <div />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user