feat(app): support displaying tree with only parameter names

This commit is contained in:
Orhun Parmaksız 2022-03-07 05:43:15 +03:00
parent a440342246
commit 90e5771bb3
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90

View File

@ -96,7 +96,7 @@ impl Parameter {
.for_each(|(i, component)| {
if i != total_components - 1 {
*component = component.color(section_color).to_string();
} else {
} else if config.display_type != DisplayType::Name {
*component = format!(
"{} {} {}",
component,