From c1ebedafc1df925b40df1b01d95bd5e00b1fe065 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Thu, 1 Apr 2021 14:01:34 -0400 Subject: [PATCH] Remove url propery on events to prevent clicking leaving the page --- src/App.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/App.vue b/src/App.vue index c6d4a60..6f29627 100644 --- a/src/App.vue +++ b/src/App.vue @@ -85,6 +85,9 @@ export default class App extends Vue { } eventDataTransform(eventData: EventInput): EventInput | false { + // clear the url to prevent clicking on the event + delete eventData.url; + const match = eventData.title.match(/([^\/]*) \| ([^-]*) - (.*)/); if (match !== null) { const [, member, shop, tool] = match;