Added None Empty Check

This commit is contained in:
CooperWang0912 2026-07-31 15:53:32 +08:00
parent 9f4417026f
commit 201bb8ca46
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def _get_status_prefix(item: MenuItem) -> str:
if item.read_only or is_special_key:
return ''
if item.has_value():
if item.has_value() and "None" not in str(item.value) and "[]" not in str(item.value):
return ' '
else:
return '[bold yellow]![/bold yellow] '