mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Customer eagerLoading set to 1
This commit is contained in:
@@ -83,7 +83,7 @@ export class CustomerDetailsComponent implements OnInit {
|
||||
this.customerId$ = this.activatedRoute.params.pipe(map((params) => Number(params['customerId'])));
|
||||
|
||||
this.customer$ = this.customerId$.pipe(
|
||||
switchMap((customerId) => this.customerDetailsService.getCustomer(customerId, 2)),
|
||||
switchMap((customerId) => this.customerDetailsService.getCustomer(customerId, 1)),
|
||||
map(({ result }) => result),
|
||||
map((customer) => {
|
||||
this.updateBreadcrumbName(customer);
|
||||
|
||||
Reference in New Issue
Block a user