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

Loading…
Cancel
Save