Skip to content

Commit

Permalink
PageRenderers: account for non-mandatory keys when converting to visual
Browse files Browse the repository at this point in the history
Change-Id: I3a34f3aba16222ca336cdde2200b9a1e183e3f39
  • Loading branch information
jherbel committed Jun 29, 2023
1 parent 2c6ba65 commit bf3e9e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmk/gui/pagetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1844,12 +1844,12 @@ def to_visual(self) -> Visual:
"single_infos": [],
"add_context_to_title": False,
"title": self._["title"],
"description": self._["description"],
"description": str(self._.get("description", "")),
"topic": self._["topic"],
"sort_index": self._["sort_index"],
"is_show_more": self._["is_show_more"],
"icon": None,
"hidden": self._["hidden"],
"hidden": bool(self._.get("hidden")),
"hidebutton": False,
"public": self._["public"],
"packaged": False,
Expand Down

0 comments on commit bf3e9e6

Please sign in to comment.