diff --git a/js/src/views/Event/Event.vue b/js/src/views/Event/Event.vue index 8fb98e27f..592807e3e 100644 --- a/js/src/views/Event/Event.vue +++ b/js/src/views/Event/Event.vue @@ -118,6 +118,10 @@ import {ParticipantRole} from "@/types/event.model"; + + + {{ urlToHostname(event.onlineAddress) }} +
@@ -544,6 +548,9 @@ export default class Event extends EventMixin { return this.event.options.maximumAttendeeCapacity - this.event.participantStats.participants; } + urlToHostname(url: string): string { + return (new URL(url)).hostname; + } }