Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl Db {
pub async fn add_calendar(&mut self, mut calendar: Calendar) -> String {
let id = calendar.id.clone();
// We don't want to store all events in the DB, just the calendar metadata
calendar.ical = ICalendar::default();
calendar.ical.events = ICalendar::default().events;
self.calendars.insert(id.clone(), calendar);
self.save_data_bg().await; // Auto-save
id
Expand Down
Loading