Skip to content

Commit

Permalink
make sure template
Browse files Browse the repository at this point in the history
  • Loading branch information
ruggi committed Jul 25, 2024
1 parent 02f5445 commit 1692f8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions editor/src/core/model/element-metadata-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ export const MetadataUtils = {
isRight(parent.element) &&
isJSXElement(parent.element.value) &&
parent.element.value.children.length > 0 &&
parent.specialSizeMeasurements.containerGridProperties.gridTemplateColumns != null &&
parent.specialSizeMeasurements.containerGridProperties.gridTemplateRows != null &&
MetadataUtils.isGridLayoutedContainer(parent)
)
},
Expand Down

0 comments on commit 1692f8e

Please sign in to comment.