handle missing tags

This commit is contained in:
lightling 2024-04-10 18:09:24 -04:00
parent 76a29dfddd
commit 2a62444036

View file

@ -149,7 +149,7 @@ const onToggleTag = (event: Event, tagId: string) => {
})
} else {
Object.keys(entries.value).forEach(entryId => {
entries.value[entryId].hidden = !entries.value[entryId].tags.some(own => tagsToggled.includes(own))
entries.value[entryId].hidden = !entries.value[entryId].tags?.some(own => tagsToggled.includes(own))
})
}
}