Skip to content

Commit 82a0e25

Browse files
committed
fix: restore type-safe disabled property access on LANGUAGE_OPTIONS
1 parent 7e97b4f commit 82a0e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/tui/screens/agent/AddAgentScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export function AddAgentScreen({ existingAgentNames, onComplete, onExit }: AddAg
167167

168168
// BYO language options (include "Other" for BYO path)
169169
const languageItems: SelectableItem[] = useMemo(
170-
() => LANGUAGE_OPTIONS.map(o => ({ id: o.id, title: o.title, disabled: o.disabled })),
170+
() => LANGUAGE_OPTIONS.map(o => ({ id: o.id, title: o.title, disabled: 'disabled' in o ? o.disabled : undefined })),
171171
[]
172172
);
173173

0 commit comments

Comments
 (0)