Browse Source

fixed: format files

pull/5453/head
Aaditya Ashwin Rao 4 months ago
parent
commit
1195a32b1c
  1. 2
      apps/client/src/app/components/admin-users/admin-users.html
  2. 3
      apps/client/src/app/pages/portfolio/allocations/allocations-page.html
  3. 4
      libs/ui/src/lib/historical-market-data-editor/historical-market-data-editor.component.html

2
apps/client/src/app/components/admin-users/admin-users.html

@ -30,7 +30,7 @@
[ngClass]="{ [ngClass]="{
'text-line-through': element.role === 'INACTIVE' 'text-line-through': element.role === 'INACTIVE'
}" }"
>{{ `${element.id | slice: 0 : 5}...` }}</span >{{ `${(element.id | slice: 0 : 5)}...` }}</span
> >
@if (element.subscription?.expiresAt) { @if (element.subscription?.expiresAt) {
<gf-premium-indicator <gf-premium-indicator

3
apps/client/src/app/pages/portfolio/allocations/allocations-page.html

@ -26,7 +26,8 @@
<mat-progress-bar <mat-progress-bar
mode="determinate" mode="determinate"
[title]=" [title]="
`${(portfolioDetails?.summary?.filteredValueInPercentage * 100 `${(
portfolioDetails?.summary?.filteredValueInPercentage * 100
).toFixed(2)}%` ).toFixed(2)}%`
" "
[value]="portfolioDetails?.summary?.filteredValueInPercentage * 100" [value]="portfolioDetails?.summary?.filteredValueInPercentage * 100"

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

@ -8,14 +8,14 @@
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]="

Loading…
Cancel
Save