diff --git a/CHANGELOG.md b/CHANGELOG.md index ddcb68ad8..97f178639 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- Reused the value component in the platform component of the admin control panel - Removed the deprecated `committedFunds` from the summary of the portfolio details endpoint - Upgraded `Nx` from version `22.4.5` to `22.5.3` diff --git a/apps/client/src/app/components/admin-platform/admin-platform.component.html b/apps/client/src/app/components/admin-platform/admin-platform.component.html index cb2f8294d..7370a19ae 100644 --- a/apps/client/src/app/components/admin-platform/admin-platform.component.html +++ b/apps/client/src/app/components/admin-platform/admin-platform.component.html @@ -54,7 +54,7 @@ diff --git a/apps/client/src/app/components/admin-platform/admin-platform.component.ts b/apps/client/src/app/components/admin-platform/admin-platform.component.ts index e3a09bcb0..0174eaf3a 100644 --- a/apps/client/src/app/components/admin-platform/admin-platform.component.ts +++ b/apps/client/src/app/components/admin-platform/admin-platform.component.ts @@ -5,6 +5,7 @@ import { User } from '@ghostfolio/common/interfaces'; import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo'; import { NotificationService } from '@ghostfolio/ui/notifications'; import { AdminService, DataService } from '@ghostfolio/ui/services'; +import { getLocale } from '@ghostfolio/common/helper'; import { GfValueComponent } from '@ghostfolio/ui/value'; import { @@ -57,6 +58,7 @@ export class GfAdminPlatformComponent implements OnDestroy, OnInit { public dataSource = new MatTableDataSource(); public deviceType: string; + public locale = getLocale(); public displayedColumns = ['name', 'url', 'accounts', 'actions']; public platforms: Platform[]; public user: User;