Skip to content

Commit

Permalink
fix for dexterity content types
Browse files Browse the repository at this point in the history
  • Loading branch information
mihai-macaneata committed Jan 26, 2021
1 parent e87bc1d commit b061d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ColumnsBlock/ColumnsBlockEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ class ColumnsBlockEdit extends React.Component {
return (
<div role="presentation" className="columns-block">
{data.coldata ? 'old style columns block, safe to remove it' : ''}
{Object.keys(data).length === 1 ? (
{!data?.data ? (
<ColumnVariations
variants={variants}
data={data}
Expand Down

0 comments on commit b061d1a

Please sign in to comment.