MCPcopy Create free account
hub / github.com/bytebase/bytebase / getValueFromScopes

Function getValueFromScopes

frontend/src/react/components/AdvancedSearch.tsx:48–50  ·  view source on GitHub ↗
(params: SearchParams, id: string)

Source from the content-addressed store, hash-verified

46}
47
48export function getValueFromScopes(params: SearchParams, id: string): string {
49 return params.scopes.find((s) => s.id === id)?.value ?? "";
50}
51
52// ============================================================
53// AdvancedSearch component

Callers 7

DatabaseResourceSelectorFunction · 0.90
ProjectDatabasesPageFunction · 0.90
ProjectsPageFunction · 0.90
InstanceDetailPageFunction · 0.90
DatabasesPageFunction · 0.90
InstancesPageFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected