diff --git a/frontend/src/app/services/company.service.ts b/frontend/src/app/services/company.service.ts index 0e7b3c21c..8fe516d9f 100644 --- a/frontend/src/app/services/company.service.ts +++ b/frontend/src/app/services/company.service.ts @@ -45,7 +45,7 @@ export class CompanyService { isCustomDomain() { const domain = window.location.hostname; - return !this.saasHostnames.includes(domain); + return !this.saasHostnames?.includes(domain); } fetchCompany() {