feature: app connections

This commit is contained in:
Scott Wilson
2024-12-16 22:46:08 -08:00
parent b669b0a9f8
commit 52ce90846a
108 changed files with 4031 additions and 19 deletions
+3 -1
View File
@@ -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`}
@@ -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 />;
}