update tag

This commit is contained in:
2026-07-10 21:22:58 -07:00
parent e748c21e2e
commit edd3a5d6bd
2 changed files with 2 additions and 10 deletions
+1 -6
View File
@@ -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
+1 -4
View File
@@ -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