Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect URL for /integrations call and rendering errors #1149

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/core/services/common/integrations.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export class IntegrationsService {
private apiService: ApiService,
private helper: HelperService
) {
helper.setBaseApiURL(AppUrl.INTEGRATION);
}

getIntegrations(): Observable<Integration[]> {
this.helper.setBaseApiURL(AppUrl.INTEGRATION);
return this.apiService.get(`/integrations/`, {});
}
}
2 changes: 1 addition & 1 deletion src/app/integrations/landing-v2/landing-v2.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export class LandingV2Component implements OnInit {
}

isAppConnected(appKey: IntegrationAppKey) {
return this.connectedApps.includes(appKey);
return this.connectedApps?.includes(appKey);
}

openAccountingIntegrationApp(accountingIntegrationApp: AccountingIntegrationApp): void {
Expand Down
Loading