Bugfix/fix pricing link in premium indicator component (#4525)
* Fix link to pricing page * Update changelog
This commit is contained in:
parent
d1a4cb5037
commit
267dfc572a
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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`];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user