show ordinal if card template missing
This commit is contained in:
parent
dd2edee3b3
commit
e6e9cb348e
@ -97,7 +97,7 @@ impl Collection {
|
||||
nt.templates
|
||||
.get(*ord as usize)
|
||||
.map(|t| t.name.clone())
|
||||
.unwrap_or_default()
|
||||
.unwrap_or_else(|| format!("Card {}", *ord + 1))
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
.join(", "),
|
||||
|
Loading…
Reference in New Issue
Block a user