1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-12-16 07:33:20 +00:00

chore: code cleanup

This commit is contained in:
2024-12-08 12:19:08 +01:00
parent b4e1113f3d
commit efa2dc68d6
10 changed files with 80 additions and 81 deletions

View File

@@ -210,7 +210,7 @@ impl<Type: 'static> FormEntryContainer for Form<Type> {
.form_references
.iter()
.for_each(|form_reference| {
apply_profile_to_form_entry(entry, form_reference)
apply_profile_to_form_entry(entry, form_reference);
});
// Hide form field using filter set to "false" if requested and change default value
@@ -226,7 +226,7 @@ impl<Type: 'static> FormEntryContainer for Form<Type> {
column: menu_category.column.clone(),
});
}
})
});
}
});
}
@@ -241,9 +241,10 @@ impl<Type: 'static> Listable for Form<Type> {
} else {
"Unterformular"
},
match self.is_system_library_content() {
true => style("S").yellow(),
_ => style("u"),
if self.is_system_library_content() {
style("S").yellow()
} else {
style("u")
},
style(&self.name).yellow(),
style(&self.revision).yellow()