MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getMaxIndex

Function getMaxIndex

src/components/teams/TeamsDialog.tsx:221–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

219 // Note: Mode cycling (shift+tab) is handled via useKeybindings with confirm:cycleMode action
220 });
221 function getMaxIndex(): number {
222 if (dialogLevel.type === 'teammateList') {
223 return Math.max(0, teammateStatuses.length - 1);
224 }
225 return 0;
226 }
227
228 // Render based on dialog level
229 if (dialogLevel.type === 'teammateList') {

Callers 1

TeamsDialogFunction · 0.85

Calls 1

maxMethod · 0.80

Tested by

no test coverage detected