Browse Source
Feature/replace asset profile count with value component in admin settings (#4825 )
* Replace asset profile count with value component in admin settings
* Update changelog
---------
Co-authored-by: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
pull/4910/head
Ginza Hatemi
3 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
8 additions and
1 deletions
CHANGELOG.md
apps/client/src/app/components/admin-settings/admin-settings.component.html
apps/client/src/app/components/admin-settings/admin-settings.module.ts
@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
### Changed
- Improved the style of the assistant
- Improved the style of the assistant
- Reused the value component in the data providers management of the admin control panel
- Migrated the `@ghostfolio/ui/assistant` component to control flow
- Migrated the `@ghostfolio/ui/assistant` component to control flow
- Migrated the `@ghostfolio/ui/value` component to control flow
- Migrated the `@ghostfolio/ui/value` component to control flow
- Migrated the `HtmlTemplateMiddleware` to use `@Injectable()`
- Migrated the `HtmlTemplateMiddleware` to use `@Injectable()`
@ -52,7 +52,11 @@
< ng-container i18n > Asset Profiles< / ng-container >
< ng-container i18n > Asset Profiles< / ng-container >
< / th >
< / th >
< td * matCellDef = "let element" class = "px-1 py-2 text-right" mat-cell >
< td * matCellDef = "let element" class = "px-1 py-2 text-right" mat-cell >
{{ element.assetProfileCount }}
< gf-value
class="d-inline-block justify-content-end"
[locale]="user?.settings?.locale"
[value]="element.assetProfileCount"
/>
< / td >
< / td >
< / ng-container >
< / ng-container >
@ -2,6 +2,7 @@ import { GfAdminPlatformModule } from '@ghostfolio/client/components/admin-platf
import { GfAdminTagModule } from '@ghostfolio/client/components/admin-tag/admin-tag.module' ;
import { GfAdminTagModule } from '@ghostfolio/client/components/admin-tag/admin-tag.module' ;
import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo' ;
import { GfEntityLogoComponent } from '@ghostfolio/ui/entity-logo' ;
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator' ;
import { GfPremiumIndicatorComponent } from '@ghostfolio/ui/premium-indicator' ;
import { GfValueComponent } from '@ghostfolio/ui/value' ;
import { CommonModule } from '@angular/common' ;
import { CommonModule } from '@angular/common' ;
import { CUSTOM_ELEMENTS_SCHEMA , NgModule } from '@angular/core' ;
import { CUSTOM_ELEMENTS_SCHEMA , NgModule } from '@angular/core' ;
@ -22,6 +23,7 @@ import { AdminSettingsComponent } from './admin-settings.component';
GfAdminTagModule ,
GfAdminTagModule ,
GfEntityLogoComponent ,
GfEntityLogoComponent ,
GfPremiumIndicatorComponent ,
GfPremiumIndicatorComponent ,
GfValueComponent ,
MatButtonModule ,
MatButtonModule ,
MatMenuModule ,
MatMenuModule ,
MatProgressBarModule ,
MatProgressBarModule ,