show warning & error indicators in unauthed

This commit is contained in:
bkellam 2025-04-01 14:19:46 -07:00
parent 336e4e7f09
commit 58363abbae
2 changed files with 3 additions and 7 deletions

View file

@ -368,7 +368,7 @@ export const getConnections = async (domain: string, filter: { status?: Connecti
repoIndexingStatus: repo.repoIndexingStatus,
})),
}));
})));
}), /* allowSingleTenantUnauthedAccess = */ true));
export const getConnectionInfo = async (connectionId: number, domain: string) => sew(() =>
withAuth((session) =>

View file

@ -89,12 +89,8 @@ export const NavigationMenu = async ({
<div className="flex flex-row items-center gap-2">
<ProgressNavIndicator />
{env.SOURCEBOT_AUTH_ENABLED === 'true' && (
<>
<WarningNavIndicator />
<ErrorNavIndicator />
</>
)}
<WarningNavIndicator />
<ErrorNavIndicator />
<TrialNavIndicator subscription={subscription} />
<form
action={async () => {