mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-06-12 01:14:27 +02:00
Fix labels in GRPC service/method selector dropdown (#188)
This commit is contained in:
@@ -92,7 +92,7 @@ export function GrpcConnectionSetupPane({
|
|||||||
const options =
|
const options =
|
||||||
services?.flatMap((s) =>
|
services?.flatMap((s) =>
|
||||||
s.methods.map((m) => ({
|
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}`,
|
value: `${s.name}/${m.name}`,
|
||||||
})),
|
})),
|
||||||
) ?? [];
|
) ?? [];
|
||||||
|
|||||||
Reference in New Issue
Block a user