diff --git a/src-web/components/GrpcConnectionSetupPane.tsx b/src-web/components/GrpcConnectionSetupPane.tsx index beab1715..c5436e25 100644 --- a/src-web/components/GrpcConnectionSetupPane.tsx +++ b/src-web/components/GrpcConnectionSetupPane.tsx @@ -92,7 +92,7 @@ export function GrpcConnectionSetupPane({ const options = services?.flatMap((s) => s.methods.map((m) => ({ - label: `${s.name.split('.', 2).pop() ?? s.name}/${m.name}`, + label: `${s.name.split('.').pop() ?? s.name}/${m.name}`, value: `${s.name}/${m.name}`, })), ) ?? [];