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

Function index

js/tableOptions.js:167–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165 // The current renderer pivots one value per cell; never silently discard duplicate cells.
166 if (!error && state.mode === 'pivot') {
167 const index = role => Number(field(role).querySelector('.draggable').id.replace('column-', ''));
168 const seen = new Set();
169 for (const row of state.report.data || []) {
170 const key = JSON.stringify([String(row[index('rows')]), String(row[index('columns')])]);

Callers 1

tableOptions.jsFile · 0.70

Calls 1

fieldFunction · 0.70

Tested by

no test coverage detected