Update components.py
This commit is contained in:
parent
201bb8ca46
commit
4a48510f8f
|
|
@ -67,7 +67,9 @@ 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):
|
||||
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):
|
||||
return ' '
|
||||
else:
|
||||
return '[bold yellow]![/bold yellow] '
|
||||
|
|
|
|||
Loading…
Reference in New Issue