hide set as base currency when the currency is already the base

This commit is contained in:
MaysWind
2023-08-20 00:54:11 +08:00
parent aa717ed1fe
commit 72725d5ab4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -109,6 +109,7 @@
<v-btn class="px-2 ml-2 mr-3" color="default"
density="comfortable" variant="text"
:class="{ 'd-none': loading, 'hover-display': !loading }"
v-if="exchangeRate.currencyCode !== baseCurrency"
@click="setAsBaseline(exchangeRate.currencyCode, getConvertedAmount(exchangeRate))">
{{ $t('Set As Baseline') }}
</v-btn>