Remove url propery on events to prevent clicking leaving the page
This commit is contained in:
parent
71159a9a47
commit
c1ebedafc1
@ -85,6 +85,9 @@ export default class App extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
eventDataTransform(eventData: EventInput): EventInput | false {
|
eventDataTransform(eventData: EventInput): EventInput | false {
|
||||||
|
// clear the url to prevent clicking on the event
|
||||||
|
delete eventData.url;
|
||||||
|
|
||||||
const match = eventData.title.match(/([^\/]*) \| ([^-]*) - (.*)/);
|
const match = eventData.title.match(/([^\/]*) \| ([^-]*) - (.*)/);
|
||||||
if (match !== null) {
|
if (match !== null) {
|
||||||
const [, member, shop, tool] = match;
|
const [, member, shop, tool] = match;
|
||||||
|
Loading…
Reference in New Issue
Block a user