"Template" special field should have been called "Card"

This commit is contained in:
Damien Elmes 2020-06-02 16:47:30 +10:00
parent 683d779c3f
commit ebce044be5

View File

@ -137,7 +137,7 @@ impl Collection {
.or_insert_with(|| deck_name.to_string().into());
map.entry("CardFlag")
.or_insert_with(|| flag_name(card.flags).into());
map.entry("Template")
map.entry("Card")
.or_insert_with(|| template.name.clone().into());
Ok(())