diff --git a/src/views/gallery/gallery-list.vue b/src/views/gallery/gallery-list.vue index ca23072..02a06b1 100644 --- a/src/views/gallery/gallery-list.vue +++ b/src/views/gallery/gallery-list.vue @@ -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)) }) } }