fix: content property
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user