Skip to content

Open source personal finance application

Add desc to Wallet modal

ilkomefd0c30faf406
diff --git a/src/components/wallets/modal/WalletModal.vue b/src/components/wallets/modal/WalletModal.vue
index 1cd08713..042fce00 100644
--- a/src/components/wallets/modal/WalletModal.vue
+++ b/src/components/wallets/modal/WalletModal.vue
@@ -88,6 +88,10 @@ ModalBottom(
template(slot="header")
WalletItem(:id="walletId")
+ template(slot="description")
+ template(v-if="$store.state.wallets.items[walletId].desc")
+ div(style="padding-bottom:20px") {{ $store.state.wallets.items[walletId].desc }}
+
template(slot="btns")
ModalButton(
:name="$lang.base.delete"