Lattice Grid Buy a licence

dashboard ยท console.warn

dashboard.applyView: {view} is not a saved v...

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

Warnings reference › dashboard:view

Identifier
dashboard:view
Raised by
dashboard
Since
1.77.0

What happened

applyView() takes the id of a view saved with saveView(), or a view object your application stored (with its spec). What it was given is neither, so the dashboard was left as it was.

The fix

Pass an id from dashboard.views(), or the stored view object.

The smallest fix

dashboard.applyView(dashboard.views()[0].id);

Reference

Covered in full at the API reference.