Browse Source

moved method up so it follow alphabetical sorted order

pull/3851/head
prakhar sharma 11 months ago
parent
commit
60c0cbe70c
  1. 4
      apps/client/src/app/components/home-holdings/home-holdings.component.ts

4
apps/client/src/app/components/home-holdings/home-holdings.component.ts

@ -111,7 +111,7 @@ export class HomeHoldingsComponent implements OnDestroy, OnInit {
this.initialize(); this.initialize();
} }
public onSymbolClicked({ dataSource, symbol }: AssetProfileIdentifier) { public onHoldingClicked({ dataSource, symbol }: AssetProfileIdentifier) {
if (dataSource && symbol) { if (dataSource && symbol) {
this.router.navigate([], { this.router.navigate([], {
queryParams: { dataSource, symbol, holdingDetailDialog: true } queryParams: { dataSource, symbol, holdingDetailDialog: true }
@ -119,7 +119,7 @@ export class HomeHoldingsComponent implements OnDestroy, OnInit {
} }
} }
public onHoldingClicked({ dataSource, symbol }: AssetProfileIdentifier) { public onSymbolClicked({ dataSource, symbol }: AssetProfileIdentifier) {
if (dataSource && symbol) { if (dataSource && symbol) {
this.router.navigate([], { this.router.navigate([], {
queryParams: { dataSource, symbol, holdingDetailDialog: true } queryParams: { dataSource, symbol, holdingDetailDialog: true }

Loading…
Cancel
Save