From 418b5fc4a09fa5d4c2715389efa707c2e11774d5 Mon Sep 17 00:00:00 2001 From: Patrick Mueller Date: Wed, 28 Dec 2022 16:32:26 +0100 Subject: [PATCH] Tidy up code --- src/app/components/event/event.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/components/event/event.component.ts b/src/app/components/event/event.component.ts index c52ecdc..844a362 100644 --- a/src/app/components/event/event.component.ts +++ b/src/app/components/event/event.component.ts @@ -167,9 +167,7 @@ export class EventComponent implements OnInit { if(validUrl){ let match = this.event!.url.match(urlRegex); if(match) { - console.log(match); - let url = 'https://' + match[2]; - this.event!.url = url; + this.event!.url = 'https://' + match[2]; } else { validUrl = false; }