Skip to content

Commit

Permalink
Calendar: Fix list view
Browse files Browse the repository at this point in the history
  • Loading branch information
benbucksch committed Nov 20, 2024
1 parent 2bd36e4 commit 3e0394b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/frontend/Calendar/ListView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
export let events: Collection<Event>;
$: 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;
</script>

Expand Down

0 comments on commit 3e0394b

Please sign in to comment.