Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(invites): handle empty invite list gracefully

Steven Enamakel994215cc36f0
diff --git a/app/src/pages/Invites.tsx b/app/src/pages/Invites.tsx
index 33bf7345a7..39ab7e9128 100644
--- a/app/src/pages/Invites.tsx
+++ b/app/src/pages/Invites.tsx
@@ -36,13 +36,11 @@ const CodeRow = ({ invite }: { invite: InviteCode }) => {
</div>
<div className="flex items-center gap-2 ml-3">
{claimed ? (
- <span className="text-xs px-2 py-1 rounded-full bg-surface-strong text-content-faint">
- {t('common.disabled')}
- </span>
+ <Badge dot={false}>{t('common.disabled')}</Badge>
) : (
- <span className="text-xs px-2 py-1 rounded-full bg-sage-500/20 text-sage-500">
+ <Badge variant="success" dot={false}>
{t('common.enabled')}
- </span>
+ </Badge>
)}
<Button
iconOnly