Browse Source

Update historical-market-data-editor.component.html

pull/5449/head
Aaditya1608 4 months ago
committed by GitHub
parent
commit
626a992d67
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 10
      libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.html

10
libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.html

@ -8,23 +8,23 @@
class="day"
[ngClass]="{
'cursor-pointer valid': isDateOfInterest(
`${itemByMonth.key}-${i + 1 < 10 ? `0${i + 1}` : i + 1}`
`${itemByMonth.key}-${i+1<10?`0${i+1}`:i+1}`
),
available:
marketDataByMonth[itemByMonth.key][
i + 1 < 10 ? '0' + (i + 1) : i + 1
i+1<10?'0'+(i+1):i+1
]?.marketPrice,
today: isToday(
`${itemByMonth.key}- + ${i + 1 < 10 ? `0${i + 1}` : i + 1}`
`${itemByMonth.key}-${i+1<10?`0${i+1}`:i+1}`
)
}"
[title]="
(`${itemByMonth.key}-${i + 1 < 10 ? `0${i + 1}` : i + 1}`)
(`${itemByMonth.key}-${i+1<10?`0${i+1}`:i+1}`)
| date: defaultDateFormat) ?? ''
"
(click)="
onOpenMarketDataDetail({
day: i + 1 < 10 ? `0${i + 1}` : i + 1,
day: i+1<10?`0${i+1}`:i+1,
yearMonth: itemByMonth.key
})
"

Loading…
Cancel
Save