File tree Expand file tree Collapse file tree 3 files changed +17
-9
lines changed
apps/frontend/src/components/ui/dashboard Expand file tree Collapse file tree 3 files changed +17
-9
lines changed Original file line number Diff line number Diff line change 1111 <template v-if =" isGiftCard && shouldShowExchangeRate " >
1212 <div class =" flex items-center justify-between" >
1313 <span class =" text-primary" >{{ formatMessage(messages.feeBreakdownGiftCardValue) }}</span >
14- <span class =" font-semibold text-contrast" >{{ formatMoney(amountInUsd) }} ({{ formattedLocalCurrencyAmount }})</span >
14+ <span class =" font-semibold text-contrast"
15+ >{{ formatMoney(amountInUsd) }} ({{ formattedLocalCurrencyAmount }})</span
16+ >
1517 </div >
1618 </template >
1719 <template v-else >
@@ -110,7 +112,7 @@ const netAmountInLocalCurrency = computed(() => {
110112
111113const localCurrencyAmount = computed (() => {
112114 if (! shouldShowExchangeRate .value ) return null
113- return ( props .amount || 0 )
115+ return props .amount || 0
114116})
115117
116118const formattedLocalCurrency = computed (() => {
@@ -130,8 +132,7 @@ const formattedLocalCurrency = computed(() => {
130132})
131133
132134const formattedLocalCurrencyAmount = computed (() => {
133- if (! shouldShowExchangeRate .value || ! localCurrencyAmount .value || ! props .localCurrency )
134- return ' '
135+ if (! shouldShowExchangeRate .value || ! localCurrencyAmount .value || ! props .localCurrency ) return ' '
135136
136137 try {
137138 return new Intl .NumberFormat (' en-US' , {
Original file line number Diff line number Diff line change 9292 <span v-if =" selectedMethodDetails" class =" text-secondary" >
9393 {{
9494 formatMoney(
95- selectedMethodCurrencyCode && selectedMethodCurrencyCode !== 'USD' && selectedMethodExchangeRate
95+ selectedMethodCurrencyCode &&
96+ selectedMethodCurrencyCode !== 'USD' &&
97+ selectedMethodExchangeRate
9698 ? (fixedDenominationMin ?? effectiveMinAmount) / selectedMethodExchangeRate
9799 : (fixedDenominationMin ?? effectiveMinAmount),
98100 )
108110 min,
109111 {{
110112 formatMoney(
111- selectedMethodCurrencyCode && selectedMethodCurrencyCode !== 'USD' && selectedMethodExchangeRate
113+ selectedMethodCurrencyCode &&
114+ selectedMethodCurrencyCode !== 'USD' &&
115+ selectedMethodExchangeRate
112116 ? (fixedDenominationMax ??
113117 selectedMethodDetails.interval?.standard?.max ??
114118 effectiveMaxAmount) / selectedMethodExchangeRate
133137 v-if =" selectedMethodDetails && effectiveMinAmount > roundedMaxAmount"
134138 class =" text-sm text-red"
135139 >
136- You need at least {{
140+ You need at least
141+ {{
137142 formatMoney(
138- selectedMethodCurrencyCode && selectedMethodCurrencyCode !== 'USD' && selectedMethodExchangeRate
143+ selectedMethodCurrencyCode &&
144+ selectedMethodCurrencyCode !== 'USD' &&
145+ selectedMethodExchangeRate
139146 ? effectiveMinAmount / selectedMethodExchangeRate
140147 : effectiveMinAmount,
141148 )
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ function analyzeFile(filePath: string): FileIssue[] {
298298 }
299299 }
300300 } catch {
301- // Silent fail for unparseable files
301+ // Silent fail for unparsable files
302302 }
303303
304304 return issues
You can’t perform that action at this time.
0 commit comments