fix: content property

Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
2026-03-03 21:52:21 -05:00
parent 2311239e11
commit 118acc5342
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -22,9 +22,9 @@ const filteredCollections = computed(() => {
return props.collections.filter(collection => {
if (props.type === 'calendar') {
return collection.properties.contents?.event
return collection.properties.content?.includes('event')
} else if (props.type === 'tasklist') {
return collection.properties.contents?.task
return collection.properties.content?.includes('task')
}
return true
})