|
@ -155,12 +155,11 @@ export class AdminMarketDataDetailComponent implements OnChanges, OnInit { |
|
|
day: string; |
|
|
day: string; |
|
|
yearMonth: string; |
|
|
yearMonth: string; |
|
|
}) { |
|
|
}) { |
|
|
const date = `${yearMonth}-${day}`; |
|
|
|
|
|
const marketPrice = this.marketDataByMonth[yearMonth]?.[day]?.marketPrice; |
|
|
const marketPrice = this.marketDataByMonth[yearMonth]?.[day]?.marketPrice; |
|
|
|
|
|
|
|
|
const dialogRef = this.dialog.open(MarketDataDetailDialog, { |
|
|
const dialogRef = this.dialog.open(MarketDataDetailDialog, { |
|
|
data: <MarketDataDetailDialogParams>{ |
|
|
data: <MarketDataDetailDialogParams>{ |
|
|
date, |
|
|
dateString: `${yearMonth}-${day}`, |
|
|
marketPrice, |
|
|
marketPrice, |
|
|
currency: this.currency, |
|
|
currency: this.currency, |
|
|
dataSource: this.dataSource, |
|
|
dataSource: this.dataSource, |
|
|