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
@@ -54,7 +54,7 @@ export const licenseDALFactory = (db: TDbClient) => {
return userCount + identityCount; return userCount + identityCount;
} catch (error) { } catch (error) {
throw new DatabaseError({ error, name: "Count of Org Identities" }); throw new DatabaseError({ error, name: "Count of Org Users + Identities" });
} }
}; };
+1 -1
View File
@@ -87,7 +87,7 @@ services:
- 4000:4000 - 4000:4000
environment: environment:
- NODE_ENV=development - 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 - TELEMETRY_ENABLED=false
volumes: volumes:
- ./backend/src:/app/src - ./backend/src:/app/src
+13 -13
View File
@@ -652,19 +652,19 @@ export const AppLayout = ({ children }: LayoutProps) => {
</MenuItem> </MenuItem>
</a> </a>
</Link> </Link>
{/* {(window.location.origin.includes("https://app.infisical.com") || {(window.location.origin.includes("https://app.infisical.com") ||
window.location.origin.includes("https://gamma.infisical.com")) && ( */} window.location.origin.includes("https://gamma.infisical.com")) && (
<Link href={`/org/${currentOrg?.id}/billing`} passHref> <Link href={`/org/${currentOrg?.id}/billing`} passHref>
<a> <a>
<MenuItem <MenuItem
isSelected={router.asPath === `/org/${currentOrg?.id}/billing`} isSelected={router.asPath === `/org/${currentOrg?.id}/billing`}
icon="system-outline-103-coin-cash-monetization" icon="system-outline-103-coin-cash-monetization"
> >
Usage & Billing Usage & Billing
</MenuItem> </MenuItem>
</a> </a>
</Link> </Link>
{/* )} */} )}
<Link href={`/org/${currentOrg?.id}/settings`} passHref> <Link href={`/org/${currentOrg?.id}/settings`} passHref>
<a> <a>
<MenuItem <MenuItem