Fix labels in GRPC service/method selector dropdown (#188)

This commit is contained in:
Andy Bao
2025-03-20 09:07:31 -04:00
committed by GitHub
parent 2c41b243b6
commit aa75636026

View File

@@ -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}`,
})),
) ?? [];