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): hide Slack Workspace and Gateway in self_host mode

cyhhaoe0824b2d2f3a
diff --git a/ui/src/components/Dashboard.tsx b/ui/src/components/Dashboard.tsx
index 8bdfa7c03..ddd5d0d56 100644
--- a/ui/src/components/Dashboard.tsx
+++ b/ui/src/components/Dashboard.tsx
@@ -242,14 +242,18 @@ export const Dashboard: React.FC = () => {
<span className="text-muted">{t('dashboard.defaultBackend')}</span>
<span className="font-mono text-xs text-text">{config.agents?.default_backend || 'opencode'}</span>
</div>
- <div className="flex justify-between items-center">
- <span className="text-muted">{t('dashboard.slackWorkspace')}</span>
- <span className="text-xs text-text">{config.slack?.team_name || t('common.notLinked')}</span>
- </div>
- <div className="flex justify-between items-center">
- <span className="text-muted">{t('dashboard.gateway')}</span>
- <span className="text-xs text-text">{config.gateway?.relay_url ? t('common.online') : t('common.offline')}</span>
- </div>
+ {showWorkspaceGateway && (
+ <div className="flex justify-between items-center">
+ <span className="text-muted">{t('dashboard.slackWorkspace')}</span>
+ <span className="text-xs text-text">{config.slack?.team_name || t('common.notLinked')}</span>
+ </div>
+ )}
+ {showWorkspaceGateway && (
+ <div className="flex justify-between items-center">
+ <span className="text-muted">{t('dashboard.gateway')}</span>
+ <span className="text-xs text-text">{config.gateway?.relay_url ? t('common.online') : t('common.offline')}</span>
+ </div>
+ )}
</div>
</div>