Skip to content

Commit

Permalink
fix: Empty value
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 committed Jan 17, 2024
1 parent 7c2bfce commit cb93cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/builder/doctype/builder_page/builder_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def get_style(style_obj):
return (
"".join(
f"{camel_case_to_kebab_case(key)}: {value};"
for key, value in style_obj.items() if value
for key, value in style_obj.items() if value is not None and value != ""
)
if style_obj
else ""
Expand Down

0 comments on commit cb93cb4

Please sign in to comment.