mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-07-03 01:02:55 +00:00
Change requirement string mapping to match Unterformular implementation
This commit is contained in:
@ -325,11 +325,10 @@ impl Requires for DataForm {
|
||||
.get_required_entries(all)
|
||||
.iter()
|
||||
.map(|inner_entry| match inner_entry {
|
||||
Requirement::PropertyCatalogue(y) => Some(y.to_listed_string()),
|
||||
Requirement::ExternalPropertyCatalogue(name) => Some(format!(
|
||||
"Merkmalskatalog (-) '{}' - hier nicht enthalten",
|
||||
style(name).yellow()
|
||||
)),
|
||||
Requirement::PropertyCatalogue(_) => Some(inner_entry.to_string()),
|
||||
Requirement::ExternalPropertyCatalogue(_) => {
|
||||
Some(inner_entry.to_string())
|
||||
}
|
||||
_ => None,
|
||||
})
|
||||
.filter(Option::is_some)
|
||||
|
Reference in New Issue
Block a user