diff --git a/src/app/carnet/travel-plan/travel-plan.component.scss b/src/app/carnet/travel-plan/travel-plan.component.scss index 8a5ee13..bdd467b 100644 --- a/src/app/carnet/travel-plan/travel-plan.component.scss +++ b/src/app/carnet/travel-plan/travel-plan.component.scss @@ -1,5 +1,5 @@ .travel-plan-container { - padding: 8px; + padding: 0.75rem 0 0 0; // max-width: 1200px; margin: 0 auto; diff --git a/src/app/core/services/carnet/carnet.service.ts b/src/app/core/services/carnet/carnet.service.ts index 2b94f28..ee382b4 100644 --- a/src/app/core/services/carnet/carnet.service.ts +++ b/src/app/core/services/carnet/carnet.service.ts @@ -1,6 +1,6 @@ import { HttpClient } from '@angular/common/http'; import { inject, Injectable } from '@angular/core'; -import { Observable, filter, map } from 'rxjs'; +import { Observable, map } from 'rxjs'; import { environment } from '../../../../environments/environment'; import { UserService } from '../common/user.service'; import { Fees } from '../../models/carnet/fee'; @@ -17,8 +17,7 @@ export class CarnetService { getEstimatedFees(headerid: number): Observable { return this.http.get(`${this.apiUrl}/${this.apiDb}/EstimatedFees/${this.userService.getUserSpid()}/${this.userService.getUser()}/${headerid}`).pipe( - filter(response => response.length > 0), - map(response => this.mapToFeesData(response?.[0]))); + map(response => this.mapToFeesData(response))); } private mapToFeesData(estimatedFeesDetails: any): Fees {