diff --git a/src/app/core/components/main/header/header.component.ts b/src/app/core/components/main/header/header.component.ts index 1681230fea1ac05164fb2b5517f902f7dc701993..842c26c2873f28d29382148edcce21ed0d37ba1f 100644 --- a/src/app/core/components/main/header/header.component.ts +++ b/src/app/core/components/main/header/header.component.ts @@ -64,6 +64,6 @@ export class HeaderComponent implements OnInit { } get username() { - return `${this._userService.user.firstName.charAt(0)}. ${this._userService.user.lastName}`; + return this._userService.user.lastName; } } diff --git a/src/app/geosource/models/filter.model.ts b/src/app/geosource/models/filter.model.ts index 62f6e01895bd43d1aea917eb028b982dc17944be..a25d58434d7108856df1a088f6caced72b201edc 100644 --- a/src/app/geosource/models/filter.model.ts +++ b/src/app/geosource/models/filter.model.ts @@ -60,6 +60,8 @@ export class Aggregation { if (this.troncatedLabel.length > 30) { this.troncatedLabel = `${this.troncatedLabel.substring(0, 30)}...`; + } else if (this.troncatedLabel === 'null') { // This is specific hack for ATMO provider + this.troncatedLabel = 'Autres'; } }