Readjustments

This commit is contained in:
Tuan Dang
2024-06-19 14:16:32 -07:00
parent d0f1cad98c
commit 0a22a2a9ef
3 changed files with 15 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ export const licenseDALFactory = (db: TDbClient) => {
return userCount + identityCount;
} catch (error) {
throw new DatabaseError({ error, name: "Count of Org Identities" });
throw new DatabaseError({ error, name: "Count of Org Users + Identities" });
}
};

View File

@@ -87,7 +87,7 @@ services:
- 4000:4000
environment:
- NODE_ENV=development
# - DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable
- DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable
- TELEMETRY_ENABLED=false
volumes:
- ./backend/src:/app/src

View File

@@ -652,19 +652,19 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem>
</a>
</Link>
{/* {(window.location.origin.includes("https://app.infisical.com") ||
window.location.origin.includes("https://gamma.infisical.com")) && ( */}
<Link href={`/org/${currentOrg?.id}/billing`} passHref>
<a>
<MenuItem
isSelected={router.asPath === `/org/${currentOrg?.id}/billing`}
icon="system-outline-103-coin-cash-monetization"
>
Usage & Billing
</MenuItem>
</a>
</Link>
{/* )} */}
{(window.location.origin.includes("https://app.infisical.com") ||
window.location.origin.includes("https://gamma.infisical.com")) && (
<Link href={`/org/${currentOrg?.id}/billing`} passHref>
<a>
<MenuItem
isSelected={router.asPath === `/org/${currentOrg?.id}/billing`}
icon="system-outline-103-coin-cash-monetization"
>
Usage & Billing
</MenuItem>
</a>
</Link>
)}
<Link href={`/org/${currentOrg?.id}/settings`} passHref>
<a>
<MenuItem