From 3e0394b667244ed251414bd11f64f6121d3a7104 Mon Sep 17 00:00:00 2001 From: Ben Bucksch Date: Wed, 20 Nov 2024 01:46:40 +0100 Subject: [PATCH] Calendar: Fix list view --- app/frontend/Calendar/ListView.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/frontend/Calendar/ListView.svelte b/app/frontend/Calendar/ListView.svelte index 457136e47..c246a9824 100644 --- a/app/frontend/Calendar/ListView.svelte +++ b/app/frontend/Calendar/ListView.svelte @@ -25,8 +25,8 @@ export let events: Collection; $: filteredEvents = globalSearchTerm - ? events.filter(ev => ev.title.toLowerCase().includes($globalSearchTerm) || - ev.descriptionText.toLowerCase().includes($globalSearchTerm)) + ? events.filter(ev => ev.title?.toLowerCase().includes($globalSearchTerm) || + ev.descriptionText?.toLowerCase().includes($globalSearchTerm)) : events;