Fix null refrence exception if definitions don't exist

This commit is contained in:
Andrew Kingston 2024-08-14 12:51:32 +01:00
parent fa12abf126
commit 84db937cba
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@
$: gridMetadata.set({
insideGrid:
parent?._component.endsWith("/container") && parent?.layout === "grid",
ignoresLayout: definition.ignoresLayout === true,
ignoresLayout: definition?.ignoresLayout === true,
id,
interactive,
styles: normalStyles,