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 -1
View File
@@ -56,7 +56,7 @@
<small class="smaller">{{ exchangeRate.currencyCode }}</small>
</div>
</template>
<f7-swipeout-actions right>
<f7-swipeout-actions right v-if="exchangeRate.currencyCode !== baseCurrency">
<f7-swipeout-button color="primary" close :text="$t('Set As Baseline')" @click="setAsBaseline(exchangeRate.currencyCode, getConvertedAmount(exchangeRate))"></f7-swipeout-button>
</f7-swipeout-actions>
</f7-list-item>