Browse Source

fix(ui): historical market data style not applied

pull/6848/head
KenTandrian 7 days ago
parent
commit
04be03e9b1
  1. 18
      libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.html

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

@ -6,14 +6,16 @@
@for (day of days; track day) { @for (day of days; track day) {
<div <div
class="day" class="day"
[class]="{ [class.available]="
'cursor-pointer valid': isDateOfInterest( marketDataByMonth[itemByMonth.key][formatDay(day)]?.marketPrice
`${itemByMonth.key}-${formatDay(day)}` "
), [class.cursor-pointer]="
available: isDateOfInterest(`${itemByMonth.key}-${formatDay(day)}`)
marketDataByMonth[itemByMonth.key][formatDay(day)]?.marketPrice, "
today: isToday(`${itemByMonth.key}-${formatDay(day)}`) [class.today]="isToday(`${itemByMonth.key}-${formatDay(day)}`)"
}" [class.valid]="
isDateOfInterest(`${itemByMonth.key}-${formatDay(day)}`)
"
[title]=" [title]="
(`${itemByMonth.key}-${formatDay(day)}` (`${itemByMonth.key}-${formatDay(day)}`
| date: defaultDateFormat()) ?? '' | date: defaultDateFormat()) ?? ''

Loading…
Cancel
Save