Tidy up code
All checks were successful
Jenkins Production Deployment

This commit is contained in:
Patrick Müller 2022-12-28 16:32:26 +01:00
parent a1c46c2648
commit 418b5fc4a0
Signed by: Paddy
GPG Key ID: 37ABC11275CAABCE

View File

@ -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;
}