ticker-serve/index: switch unknown calendar color from white to grey

This commit is contained in:
Astro 2023-03-19 23:23:29 +01:00
parent bff8b4bd8c
commit 53f0d5f242
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ fn group_by_day<'e>(config: &'e Config, es: &'e [Event]) -> Vec<DayEvents<'e>> {
let url = event.url.as_ref().map(|url| fix_url(url));
let color = config.calendars.get(&event.calendar)
.map(|calendar| &calendar.color[..])
.unwrap_or("white");
.unwrap_or("grey");
(event, url, color)
}).collect(),
});