Revert "Update components.py"

This reverts commit 4a48510f8f.
This commit is contained in:
CooperWang0912 2026-07-31 16:13:57 +08:00
parent 4a48510f8f
commit c5c2b5297d
1 changed files with 1 additions and 3 deletions

View File

@ -67,9 +67,7 @@ def _get_status_prefix(item: MenuItem) -> str:
if item.read_only or is_special_key:
return ''
if item.has_value() and 'None' not in str(item.value) and '[]' not in str(item.value):
return ' '
elif 'Configuration' not in str(item.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] '