MCPcopy
hub / github.com/deepops-ai/deepops / findOverride

Function findOverride

ui/src/utils/dashboard/panel.ts:36–38  ·  view source on GitHub ↗
(panel: Panel, overideTarget)

Source from the content-addressed store, hash-verified

34}
35
36export const findOverride = (panel: Panel, overideTarget) => {
37 return panel.overrides.find((o) => o.target == overideTarget)
38}
39
40export const findRuleInOverride = (override: OverrideItem, ruleType) => {
41 return override?.overrides.find((o) => o.type == ruleType)?.value

Callers 13

Legend.tsxFile · 0.90
updateMethod · 0.90
ComplexTable.tsxFile · 0.90
StatGraph.tsxFile · 0.90
transformDataFunction · 0.90
BarPanelFunction · 0.90
BarChart.tsxFile · 0.90
Graph.tsxFile · 0.90
parseOptionsFunction · 0.90
SeriesTable.tsxFile · 0.90
PiePanelFunction · 0.90

Calls 1

findMethod · 0.80

Tested by

no test coverage detected