|
@ -3,6 +3,7 @@ import { User } from '@ghostfolio/common/interfaces'; |
|
|
|
|
|
|
|
|
import { |
|
|
import { |
|
|
ChangeDetectionStrategy, |
|
|
ChangeDetectionStrategy, |
|
|
|
|
|
ChangeDetectorRef, |
|
|
Component, |
|
|
Component, |
|
|
OnDestroy, |
|
|
OnDestroy, |
|
|
OnInit |
|
|
OnInit |
|
@ -27,6 +28,7 @@ export class AdminSettingsComponent implements OnDestroy, OnInit { |
|
|
private user: User; |
|
|
private user: User; |
|
|
|
|
|
|
|
|
public constructor( |
|
|
public constructor( |
|
|
|
|
|
private changeDetectorRef: ChangeDetectorRef, |
|
|
private deviceService: DeviceDetectorService, |
|
|
private deviceService: DeviceDetectorService, |
|
|
private matDialog: MatDialog, |
|
|
private matDialog: MatDialog, |
|
|
private userService: UserService |
|
|
private userService: UserService |
|
@ -44,6 +46,8 @@ export class AdminSettingsComponent implements OnDestroy, OnInit { |
|
|
this.pricingUrl = |
|
|
this.pricingUrl = |
|
|
`https://ghostfol.io/${this.user.settings.language}/` + |
|
|
`https://ghostfol.io/${this.user.settings.language}/` + |
|
|
$localize`:snake-case:pricing`; |
|
|
$localize`:snake-case:pricing`; |
|
|
|
|
|
|
|
|
|
|
|
this.changeDetectorRef.markForCheck(); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
|