mirror of
https://github.com/SkyfallWasTaken/arcade-monitor.git
synced 2024-11-22 00:43:39 +00:00
Fix fulfillment description
This commit is contained in:
parent
73cc31d44f
commit
a0219f5115
1 changed files with 6 additions and 2 deletions
|
@ -31,8 +31,12 @@ pub fn format_item_diff(old: &ShopItem, new: &ShopItem) -> Option<String> {
|
|||
if old.fulfillment_description != new.fulfillment_description {
|
||||
result.push(format!(
|
||||
"*Fulfillment info:* {} → {}",
|
||||
old.description.as_ref().unwrap_or(&"_not set_".into()),
|
||||
new.description.as_ref().unwrap_or(&"_not set_".into())
|
||||
old.fulfillment_description
|
||||
.as_ref()
|
||||
.unwrap_or(&"_not set_".into()),
|
||||
new.fulfillment_description
|
||||
.as_ref()
|
||||
.unwrap_or(&"_not set_".into())
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue