Skip to content

Commit

Permalink
expose xero in QA and Fyle (#770)
Browse files Browse the repository at this point in the history
Co-authored-by: Fyle <[email protected]>
  • Loading branch information
DhaaraniCIT and Fyle authored Apr 30, 2024
1 parent 6ebc46c commit 28b13f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/integrations/landing/landing.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
</span>
</div>
</div>
<div *ngIf="!exposeC1Apps" class="landing--accounting-app" [ngClass]="{'tw-shadow-app-card': brandingConfig.brandId === 'fyle', 'tw-shadow-shadow-level-1': brandingConfig.brandId === 'co'}" (click)="openAccountingIntegrationApp(AccountingIntegrationApp.XERO)">
<div *ngIf="!hideToCo" class="landing--accounting-app" [ngClass]="{'tw-shadow-app-card': brandingConfig.brandId === 'fyle', 'tw-shadow-shadow-level-1': brandingConfig.brandId === 'co'}" (click)="openAccountingIntegrationApp(AccountingIntegrationApp.XERO)">
<img src="assets/logos/xero-logo.png" class="tw-mt-[-20px]" width="65px" height="60px" />
<span class="landing--accounting-app-name">
Xero
Expand Down
2 changes: 2 additions & 0 deletions src/app/integrations/landing/landing.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 28b13f8

Please sign in to comment.