diff --git a/src/App.vue b/src/App.vue index ef7866f..38bbb10 100644 --- a/src/App.vue +++ b/src/App.vue @@ -88,8 +88,8 @@ export default class App extends Vue { // clear the url to prevent clicking on the event delete eventData.url; - const match = eventData.title.match(/([^\/]*) \| ([^-]*) - (.*)/); - if (match !== null) { + const match = eventData?.title?.match(/([^\/]*) \| ([^-]*) - (.*)/); + if (match) { const [, member, shop, tool] = match; eventData.title = member; if (this.toolFilter === null || tool.includes(this.toolFilter)) {