d
This commit is contained in:
@@ -270,6 +270,12 @@ def render_item_details_panel(item: Dict[str, Any]) -> None:
|
||||
# Create a specialized view with no results rows (only the metadata panel)
|
||||
# We set no_choice=True to hide the "#" column (not that there are any rows).
|
||||
view = ItemDetailView(item_metadata=metadata).set_no_choice(True)
|
||||
# Ensure no title leaks in (prevents an empty "No results" table from rendering).
|
||||
try:
|
||||
view.title = ""
|
||||
view.header_lines = []
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# We want to print ONLY the elements from ItemDetailView, so we don't use stdout_console().print(view)
|
||||
# as that would include the (empty) results panel.
|
||||
|
||||
Reference in New Issue
Block a user