Browse Source

Add mark for check

pull/3950/head
Thomas Kaul 10 months ago
parent
commit
111024234a
  1. 4
      apps/client/src/app/components/admin-settings/admin-settings.component.ts

4
apps/client/src/app/components/admin-settings/admin-settings.component.ts

@ -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();
} }
}); });
} }

Loading…
Cancel
Save