Skip to content

Commit 58363ab

Browse files
show warning & error indicators in unauthed
1 parent 336e4e7 commit 58363ab

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

packages/web/src/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ export const getConnections = async (domain: string, filter: { status?: Connecti
368368
repoIndexingStatus: repo.repoIndexingStatus,
369369
})),
370370
}));
371-
})));
371+
}), /* allowSingleTenantUnauthedAccess = */ true));
372372

373373
export const getConnectionInfo = async (connectionId: number, domain: string) => sew(() =>
374374
withAuth((session) =>

packages/web/src/app/[domain]/components/navigationMenu.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,8 @@ export const NavigationMenu = async ({
8989

9090
<div className="flex flex-row items-center gap-2">
9191
<ProgressNavIndicator />
92-
{env.SOURCEBOT_AUTH_ENABLED === 'true' && (
93-
<>
94-
<WarningNavIndicator />
95-
<ErrorNavIndicator />
96-
</>
97-
)}
92+
<WarningNavIndicator />
93+
<ErrorNavIndicator />
9894
<TrialNavIndicator subscription={subscription} />
9995
<form
10096
action={async () => {

0 commit comments

Comments
 (0)