Skip to content

Commit

Permalink
Make link block not required in image chooser block
Browse files Browse the repository at this point in the history
  • Loading branch information
bruecksen committed Nov 27, 2024
1 parent 8fdb2d6 commit 0c2e3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bakeup/pages/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class ImageChooserBlock(StructBlock):
min_value=0,
)
alignment = ImageAlignmentChoiceBlock(default="start")
link = LinkBlock()
link = LinkBlock(required=False)

class Meta:
template = "blocks/image_block.html"
Expand Down

0 comments on commit 0c2e3e0

Please sign in to comment.