Lattice Grid Buy a licence

designer ยท console.warn

designer.assist.accept: there is no page and...

Printed by designer, prefixed [lattice], since 1.89.0.

Warnings reference › designer:assist:accept

Identifier
designer:assist:accept
Raised by
designer
Since
1.89.0

What happened

The acceptProposal command ran without a selected page whose spec is an object, or without a proposal, so nothing changed.

The fix

Accept only while a proposal is pending on a page whose spec is an object.

The smallest fix

designer.assist.accept();

Reference

Covered in full at the API reference.