Skip to content

Commit

Permalink
enviromentName fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oyurekten committed Jan 19, 2024
1 parent 011c3d9 commit a6fe709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/shared/nav-bar/nav-bar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class NavBarComponent implements OnInit {
private configService: ConfigurationService,
private platformLocation: PlatformLocation
) {
this.baseHref = this.configService.baseHref
this.baseHref = this.configService.baseHref;
this.environmentName = this.platformLocation.getBaseHrefFromDOM();
this.environmentName = this.environmentName.replace("/metabolights", "");
this.environmentName = this.environmentName.replace("/editor", "");
Expand Down

0 comments on commit a6fe709

Please sign in to comment.