forked from Anri/cal8tor
fix contact
This commit is contained in:
parent
dfcf1226d0
commit
71a47096b1
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ pub fn export(courses: Vec<crate::timetable::models::Course>, filename: &mut Str
|
||||||
|
|
||||||
// Professor's name
|
// Professor's name
|
||||||
if course.professor.is_some() {
|
if course.professor.is_some() {
|
||||||
event.push(Attendee::new(course.professor.unwrap()));
|
event.push(Attendee::new(
|
||||||
|
"mailto:".to_owned() + &course.professor.unwrap(),
|
||||||
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Start time of the course
|
// Start time of the course
|
||||||
|
|
Loading…
Reference in a new issue