mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
Fix labels in GRPC service/method selector dropdown (#188)
This commit is contained in:
@@ -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}`,
|
||||
})),
|
||||
) ?? [];
|
||||
|
||||
Reference in New Issue
Block a user