Browse Source
Task/prefix home market component with Gf (#5643)
* Prefix home market component with Gf
pull/5651/head
Jasmeet Singh
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
5 additions and
5 deletions
-
apps/client/src/app/components/home-market/home-market.component.ts
-
apps/client/src/app/pages/home/home-page.routes.ts
-
apps/client/src/app/pages/markets/markets-page.component.ts
|
|
@ -35,7 +35,7 @@ import { takeUntil } from 'rxjs/operators'; |
|
|
|
styleUrls: ['./home-market.scss'], |
|
|
|
templateUrl: './home-market.html' |
|
|
|
}) |
|
|
|
export class HomeMarketComponent implements OnDestroy, OnInit { |
|
|
|
export class GfHomeMarketComponent implements OnDestroy, OnInit { |
|
|
|
public benchmarks: Benchmark[]; |
|
|
|
public deviceType: string; |
|
|
|
public fearAndGreedIndex: number; |
|
|
|
|
|
@ -1,5 +1,5 @@ |
|
|
|
import { GfHomeHoldingsComponent } from '@ghostfolio/client/components/home-holdings/home-holdings.component'; |
|
|
|
import { HomeMarketComponent } from '@ghostfolio/client/components/home-market/home-market.component'; |
|
|
|
import { GfHomeMarketComponent } from '@ghostfolio/client/components/home-market/home-market.component'; |
|
|
|
import { GfHomeOverviewComponent } from '@ghostfolio/client/components/home-overview/home-overview.component'; |
|
|
|
import { GfHomeSummaryComponent } from '@ghostfolio/client/components/home-summary/home-summary.component'; |
|
|
|
import { GfHomeWatchlistComponent } from '@ghostfolio/client/components/home-watchlist/home-watchlist.component'; |
|
|
@ -31,7 +31,7 @@ export const routes: Routes = [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
path: internalRoutes.home.subRoutes.markets.path, |
|
|
|
component: HomeMarketComponent, |
|
|
|
component: GfHomeMarketComponent, |
|
|
|
title: internalRoutes.home.subRoutes.markets.title |
|
|
|
}, |
|
|
|
{ |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
import { HomeMarketComponent } from '@ghostfolio/client/components/home-market/home-market.component'; |
|
|
|
import { GfHomeMarketComponent } from '@ghostfolio/client/components/home-market/home-market.component'; |
|
|
|
|
|
|
|
import { CommonModule } from '@angular/common'; |
|
|
|
import { Component, OnDestroy } from '@angular/core'; |
|
|
@ -6,7 +6,7 @@ import { Subject } from 'rxjs'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
host: { class: 'page' }, |
|
|
|
imports: [CommonModule, HomeMarketComponent], |
|
|
|
imports: [CommonModule, GfHomeMarketComponent], |
|
|
|
selector: 'gf-markets-page', |
|
|
|
styleUrls: ['./markets-page.scss'], |
|
|
|
templateUrl: './markets-page.html' |
|
|
|