mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
show warning & error indicators in unauthed
This commit is contained in:
parent
336e4e7f09
commit
58363abbae
2 changed files with 3 additions and 7 deletions
|
|
@ -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) =>
|
||||
|
|
|
|||
|
|
@ -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 () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue