Bugfix/fix pricing link in premium indicator component (#4525)

* Fix link to pricing page

* Update changelog
This commit is contained in:
Thomas Kaul 2025-04-11 19:04:33 +02:00 committed by GitHub
parent d1a4cb5037
commit 267dfc572a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View File

@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded `eslint` dependencies - Upgraded `eslint` dependencies
- Upgraded `Nx` from version `20.6.4` to `20.7.1` - Upgraded `Nx` from version `20.6.4` to `20.7.1`
### Fixed
- Fixed the link to the pricing page in the premium indicator component
## 2.150.0 - 2025-04-05 ## 2.150.0 - 2025-04-05
### Added ### Added

View File

@ -2,6 +2,6 @@
class="align-items-center d-flex" class="align-items-center d-flex"
title="Upgrade to Ghostfolio Premium" title="Upgrade to Ghostfolio Premium"
[ngStyle]="{ 'pointer-events': enableLink ? 'initial' : 'none' }" [ngStyle]="{ 'pointer-events': enableLink ? 'initial' : 'none' }"
[routerLink]="['/pricing']" [routerLink]="routerLinkPricing"
><ion-icon class="text-muted" name="diamond-outline" ><ion-icon class="text-muted" name="diamond-outline"
/></a> /></a>

View File

@ -17,4 +17,6 @@ import { RouterModule } from '@angular/router';
}) })
export class GfPremiumIndicatorComponent { export class GfPremiumIndicatorComponent {
@Input() enableLink = true; @Input() enableLink = true;
public routerLinkPricing = ['/' + $localize`:snake-case:pricing`];
} }