Merge branch 'main' of https://code.glowers.club/goyimnose/Medios-Macina
This commit is contained in:
@@ -1185,14 +1185,10 @@ class Add_Tag(Cmdlet):
|
||||
pass
|
||||
|
||||
try:
|
||||
from SYS.rich_display import render_item_details_panel
|
||||
from SYS.result_table import Table
|
||||
|
||||
subject = display_items[0] if len(display_items) == 1 else list(display_items)
|
||||
# Use helper to display items and make them @-selectable
|
||||
from ._shared import display_and_persist_items
|
||||
display_type = "item" if len(display_items) <= _DETAIL_PANEL_LIMIT else "custom"
|
||||
display_and_persist_items(
|
||||
sh.display_and_persist_items(
|
||||
list(display_items),
|
||||
title="Result",
|
||||
subject=subject,
|
||||
@@ -1226,4 +1222,3 @@ class Add_Tag(Cmdlet):
|
||||
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
@@ -740,10 +740,8 @@ def _run(result: Any, args: Sequence[str], config: Dict[str, Any]) -> int:
|
||||
if is_last_stage and display_items:
|
||||
try:
|
||||
subject = display_items[0] if len(display_items) == 1 else list(display_items)
|
||||
from ._shared import display_and_persist_items
|
||||
|
||||
display_type = "item" if len(display_items) <= _DETAIL_PANEL_LIMIT else "custom"
|
||||
display_and_persist_items(
|
||||
sh.display_and_persist_items(
|
||||
list(display_items),
|
||||
title="Result",
|
||||
subject=subject,
|
||||
@@ -892,4 +890,3 @@ def _process_deletion(
|
||||
log(f"del-tag failed: {exc}")
|
||||
return False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user