Lattice Grid Buy a licence

dashboard ยท console.warn

dashboard.present: {reason}; nothing is pres...

Printed by dashboard, prefixed [lattice], since 1.77.0.

Warnings reference › dashboard:present

Identifier
dashboard:present
Raised by
dashboard
Since
1.77.0

What happened

A presentation steps through built panels with the layout's maximise(). The dashboard has no panels, the list given was empty, or it named a panel that is not built, so there was nothing to step through.

The fix

Present the built panels (dashboard.panels()), or name only those.

The smallest fix

dashboard.present({ panels: dashboard.panels().slice(0, 3) });

Reference

Covered in full at the API reference.