Skip to content

Commit

Permalink
Fix issue with welcome screen display
Browse files Browse the repository at this point in the history
  • Loading branch information
ericof committed May 29, 2024
1 parent 961cccd commit b79edd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cookieplone/utils/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ def welcome_screen(templates: list[list[str]] | None = None):
Align.center(f"[bold blue]{BANNER}[/bold blue]"),
]
if templates:
items.append(Panel(table_available_templates(templates, title="Templates")))
items.append(
Panel(table_available_templates(title="Templates", rows=templates))
)
panel = Panel(
Group(*items),
title="cookieplone",
Expand Down
1 change: 1 addition & 0 deletions news/+welcome.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix issue with Welcome Screen display [@ericof]

0 comments on commit b79edd7

Please sign in to comment.