We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1a479 commit 73ab4c1Copy full SHA for 73ab4c1
src/blocks/calendar/caldav.rs
@@ -228,11 +228,12 @@ enum ResourceType {
228
229
#[derive(Debug, Deserialize)]
230
struct SupportedCalendarComponentSet {
231
- comp: Option<Comp>,
+ #[serde(rename = "$value", default)]
232
+ pub values: Vec<Comp>,
233
}
234
impl SupportedCalendarComponentSet {
235
fn supports_events(&self) -> bool {
- self.comp.as_ref().is_some_and(|v| v.name == "VEVENT")
236
+ self.values.iter().any(|v| v.name == "VEVENT")
237
238
239
0 commit comments