From aa75636026dd9a1b3ddb5bc2db989c073ebeeed8 Mon Sep 17 00:00:00 2001 From: Andy Bao Date: Thu, 20 Mar 2025 09:07:31 -0400 Subject: [PATCH] Fix labels in GRPC service/method selector dropdown (#188) --- src-web/components/GrpcConnectionSetupPane.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`, })), ) ?? [];