Skip to content

Commit 0c2e3e0

Browse files
committedNov 27, 2024·
Make link block not required in image chooser block
1 parent 8fdb2d6 commit 0c2e3e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎bakeup/pages/blocks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class ImageChooserBlock(StructBlock):
151151
min_value=0,
152152
)
153153
alignment = ImageAlignmentChoiceBlock(default="start")
154-
link = LinkBlock()
154+
link = LinkBlock(required=False)
155155

156156
class Meta:
157157
template = "blocks/image_block.html"

0 commit comments

Comments
 (0)
Please sign in to comment.