Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(ui): restore organization gate return path

Max28ceb3d709e0
diff --git a/ui/src/features/organization/OrganizationShell.tsx b/ui/src/features/organization/OrganizationShell.tsx
index 32bd2eab9..31ffa271f 100644
--- a/ui/src/features/organization/OrganizationShell.tsx
+++ b/ui/src/features/organization/OrganizationShell.tsx
@@ -48,6 +48,7 @@ function GateState() {
const { t } = useTranslation();
const { gate, signIn, retry } = useOrganization();
const { capabilities } = useInstanceAuthorization();
+ const backToControlPanelPath = useBackToControlPanelPath();
const cloudNotConnectedPath = capabilities.can_use_system ? '/admin/remote-access' : backToControlPanelPath;
const cloudNotConnectedLabel = capabilities.can_use_system
? t('organization.actions.openRemoteAccess')
@@ -137,7 +138,6 @@ function OrganizationNavbar() {
session,
signOut,
} = useOrganization();
- const backToControlPanelPath = useBackToControlPanelPath();
const switchOrganization = async (organizationId: string) => {
const destination = organizationSwitchDestination(location.pathname);
if (destination) navigate(destination, { replace: true });