diff --git a/apps/api/src/routes/api/v1/handlers.ts b/apps/api/src/routes/api/v1/handlers.ts index ed7a77c6e..f5946c447 100644 --- a/apps/api/src/routes/api/v1/handlers.ts +++ b/apps/api/src/routes/api/v1/handlers.ts @@ -118,7 +118,8 @@ export async function showDashboard(request: FastifyRequest) { include: { settings: true } }); const databases = await prisma.database.findMany({ - where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } } + where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } }, + include: { settings: true } }); const services = await prisma.service.findMany({ where: { teams: { some: { id: teamId === '0' ? undefined : teamId } } } diff --git a/apps/ui/src/routes/index.svelte b/apps/ui/src/routes/index.svelte index 52b8ad172..7380250a1 100644 --- a/apps/ui/src/routes/index.svelte +++ b/apps/ui/src/routes/index.svelte @@ -80,13 +80,13 @@ {#if $appSession.teamId === '0'} {/if} - {#if applications.length > 0} -

Applications

-
-
+

Applications

+