Lattice Grid Buy a licence

The grid (rendering) ยท console.warn

createStat: the "{title}" tile sets both `co...

Printed by The grid (rendering), prefixed [lattice], since 1.111.0.

Warnings reference › stat.compute-conflict.*

Identifier
stat.compute-conflict.*
Raised by
The grid (rendering)
Since
1.111.0

What happened

A stat tile named a built-in fn and a compute function. The fn produces the value and compute never runs. A tile with compute and no fn uses it.

The fix

Omit fn (or set 'custom') to use compute, or remove compute to keep the fn.

The smallest fix

createStat({ grid, container, title: 'Open', compute: (rows) => rows.filter((r) => r.open).length });

Reference

Covered in full at the API reference.