File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
src/components/transactions Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -286,10 +286,13 @@ const calculatedFee = computed(() => {
286
286
287
287
const { cryptoTransferDecimals, decimals } = CryptosInfo [commissionTokenLabel ]
288
288
289
- const tokenFee =
290
- props .queryStatus === ' success' && typeof props .fee === ' number'
291
- ? ` ${formatAmount (props .fee , cryptoTransferDecimals ?? decimals )} ${commissionTokenLabel } `
292
- : placeholder .value
289
+ const isFeeShown =
290
+ typeof props .fee === ' number' &&
291
+ ((props .queryStatus === ' success' && props .fee > 0 ) || props .transactionStatus === ' CONFIRMED' )
292
+
293
+ const tokenFee = isFeeShown
294
+ ? ` ${formatAmount (props .fee , cryptoTransferDecimals ?? decimals )} ${commissionTokenLabel } `
295
+ : placeholder .value
293
296
294
297
if (! props .fee || ! calculatedTimestampInSec .value ) return tokenFee
295
298
You can’t perform that action at this time.
0 commit comments