MCPcopy Create free account
hub / github.com/Rello/analytics / labelFor

Function labelFor

js/filter.js:2487–2487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2485 let mounted = false;
2486 let closed = false;
2487 const labelFor = id => columns.find(column => column.id === id)?.label || '';
2488 const listFormatter = new Intl.ListFormat(document.documentElement.lang || undefined, {type: 'conjunction'});
2489 const sampleLabels = new Map(columns.map(column => {
2490 const values = [...new Set((reportData.data || []).slice(0, 50)

Callers 3

renderSelectionsFunction · 0.85
renderSummaryFunction · 0.85
filter.jsFile · 0.85

Calls 1

findMethod · 0.80

Tested by

no test coverage detected