Skip to content

Commit

Permalink
Fix serialization on empty Column/Tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Aug 21, 2024
1 parent 99487de commit 756b746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lumen/ai/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,8 @@ def _serialize(self, obj):
continue
if hasattr(o, "visible") and o.visible:
break
else:
return ""
return self._serialize(o)

if isinstance(obj, HTML) and 'catalog' in obj.tags:
Expand Down

0 comments on commit 756b746

Please sign in to comment.