Skip to content

Commit

Permalink
Last fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxschulz-COL committed Mar 7, 2025
1 parent 39be3a1 commit 7fc2246
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vizro-core/src/vizro/models/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class VizroBaseModel(BaseModel):
str,
AfterValidator(set_id),
Field(
default="", # TODO[MS]: potentially change to None
default="",
description="ID to identify model. Must be unique throughout the whole dashboard."
"When no ID is chosen, ID will be automatically generated.",
validate_default=True,
Expand Down
2 changes: 1 addition & 1 deletion vizro-core/src/vizro/models/_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _all_hidden(components: list[Component]):
return all(
component is None
or getattr(component, "hidden", False)
or "d-none" in getattr(component, "className", "d-inline") # TODO: this may be important
or "d-none" in getattr(component, "className", "d-inline")
for component in components
)

Expand Down

0 comments on commit 7fc2246

Please sign in to comment.