From 6b8adeb5849016353fc9a71e409ac56b9f0f9a1e Mon Sep 17 00:00:00 2001 From: tidusjar Date: Fri, 16 Feb 2018 21:31:09 +0000 Subject: [PATCH] Fixed #1954 --- src/Ombi/ClientApp/app/settings/ombi/ombi.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ombi/ClientApp/app/settings/ombi/ombi.component.ts b/src/Ombi/ClientApp/app/settings/ombi/ombi.component.ts index 1adfb97e2..e8a3f9e80 100644 --- a/src/Ombi/ClientApp/app/settings/ombi/ombi.component.ts +++ b/src/Ombi/ClientApp/app/settings/ombi/ombi.component.ts @@ -41,7 +41,7 @@ export class OmbiComponent implements OnInit { } const result = form.value; - if(result.baseUrl.length > 0) { + if(result.baseUrl && result.baseUrl.length > 0) { if(!result.baseUrl.startsWith("/")) { this.notificationService.error("Please ensure your base url starts with a '/'"); return;