|
|
@ -1,6 +1,7 @@ |
|
|
import { resolveFearAndGreedIndex } from '@ghostfolio/common/helper'; |
|
|
import { resolveFearAndGreedIndex } from '@ghostfolio/common/helper'; |
|
|
import { translate } from '@ghostfolio/ui/i18n'; |
|
|
import { translate } from '@ghostfolio/ui/i18n'; |
|
|
|
|
|
|
|
|
|
|
|
import { DecimalPipe } from '@angular/common'; |
|
|
import { |
|
|
import { |
|
|
ChangeDetectionStrategy, |
|
|
ChangeDetectionStrategy, |
|
|
Component, |
|
|
Component, |
|
|
@ -11,7 +12,7 @@ import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader'; |
|
|
|
|
|
|
|
|
@Component({ |
|
|
@Component({ |
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
changeDetection: ChangeDetectionStrategy.OnPush, |
|
|
imports: [NgxSkeletonLoaderModule], |
|
|
imports: [DecimalPipe, NgxSkeletonLoaderModule], |
|
|
selector: 'gf-fear-and-greed-index', |
|
|
selector: 'gf-fear-and-greed-index', |
|
|
styleUrls: ['./fear-and-greed-index.component.scss'], |
|
|
styleUrls: ['./fear-and-greed-index.component.scss'], |
|
|
templateUrl: './fear-and-greed-index.component.html' |
|
|
templateUrl: './fear-and-greed-index.component.html' |
|
|
|