Browse Source
Task/round value in fear and greed index component (#7303)
* Round value
* Update changelog
pull/7304/head
Thomas Kaul
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
4 additions and
2 deletions
-
CHANGELOG.md
-
apps/client/src/app/components/fear-and-greed-index/fear-and-greed-index.component.html
-
apps/client/src/app/components/fear-and-greed-index/fear-and-greed-index.component.ts
|
|
|
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 |
|
|
|
|
|
|
|
### Changed |
|
|
|
|
|
|
|
- Rounded the value of the _Fear & Greed Index_ (market mood) |
|
|
|
- Improved the language localization for Korean (`ko`) |
|
|
|
|
|
|
|
## 3.23.0 - 2026-07-10 |
|
|
|
|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
<div class="h4 mb-0"> |
|
|
|
<span class="mr-2">{{ fearAndGreedIndexText }}</span> |
|
|
|
<small class="text-muted" |
|
|
|
><strong>{{ fearAndGreedIndex }}</strong |
|
|
|
><strong>{{ fearAndGreedIndex | number: '1.0-0' }}</strong |
|
|
|
>/100</small |
|
|
|
> |
|
|
|
</div> |
|
|
|
|
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
import { resolveFearAndGreedIndex } from '@ghostfolio/common/helper'; |
|
|
|
import { translate } from '@ghostfolio/ui/i18n'; |
|
|
|
|
|
|
|
import { DecimalPipe } from '@angular/common'; |
|
|
|
import { |
|
|
|
ChangeDetectionStrategy, |
|
|
|
Component, |
|
|
|
@ -11,7 +12,7 @@ import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
|
imports: [NgxSkeletonLoaderModule], |
|
|
|
imports: [DecimalPipe, NgxSkeletonLoaderModule], |
|
|
|
selector: 'gf-fear-and-greed-index', |
|
|
|
styleUrls: ['./fear-and-greed-index.component.scss'], |
|
|
|
templateUrl: './fear-and-greed-index.component.html' |
|
|
|
|