From 28b13f84971137d51f35b7a1d120f246dced6b0c Mon Sep 17 00:00:00 2001 From: Dhaarani <55541808+DhaaraniCIT@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:59:01 +0530 Subject: [PATCH] expose xero in QA and Fyle (#770) Co-authored-by: Fyle --- src/app/integrations/landing/landing.component.html | 2 +- src/app/integrations/landing/landing.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/integrations/landing/landing.component.html b/src/app/integrations/landing/landing.component.html index 29970d8ff..9506e331b 100644 --- a/src/app/integrations/landing/landing.component.html +++ b/src/app/integrations/landing/landing.component.html @@ -78,7 +78,7 @@ -
+
Xero diff --git a/src/app/integrations/landing/landing.component.ts b/src/app/integrations/landing/landing.component.ts index 1bfeec0e9..5f6a22236 100644 --- a/src/app/integrations/landing/landing.component.ts +++ b/src/app/integrations/landing/landing.component.ts @@ -71,6 +71,8 @@ export class LandingComponent implements OnInit { readonly isINCluster = this.storageService.get('cluster-domain').includes('in1'); + readonly hideToCo = !(this.storageService.get('cluster-domain').includes('.fylehq.com') || this.storageService.get('cluster-domain').includes('.fyle.tech') || this.storageService.get('cluster-domain').includes('-qa.')); + constructor( private eventsService: EventsService, private qboAuthService: QboAuthService,