cleaner cal #577

Merged
philipp merged 3 commits from cleaner-cal into staging 2024-06-06 17:22:16 +02:00
Showing only changes of commit 34b098fa2a - Show all commits

View File

@ -371,7 +371,7 @@ WHERE trip_details.id=?
name.push_str(&format!("{} ", triptype.name)) name.push_str(&format!("{} ", triptype.name))
} }
if let Some(notes) = tripdetails.notes { if let Some(notes) = tripdetails.notes {
if !notes.is_empty() { if !notes.is_empty() && event.is_cancelled() {
name.push_str(&format!("({notes}) ")) name.push_str(&format!("({notes}) "))
} }
} }