From 40c00f4c2fdf22c6d168f6db6d6d245e23bf66ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren?= Date: Thu, 19 May 2022 13:18:38 +0200 Subject: [PATCH] Allow disabling addresses in AddressList --- src/components/AddressList.vue | 7 ++++++- src/components/AddressListItem.vue | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/AddressList.vue b/src/components/AddressList.vue index 4e1c4d889..590235c13 100644 --- a/src/components/AddressList.vue +++ b/src/components/AddressList.vue @@ -6,7 +6,8 @@ :addressInfo="addressInfo" :class="{ 'active': activeAddress === addressInfo.address && activeCurrency === CryptoCurrency.NIM }" @click="selectAddress(addressInfo.address);" - :ref="`address-button-${addressInfo.address}`"/> + :ref="`address-button-${addressInfo.address}`" + :disabled="requiredBalance > (addressInfo.balance || 0)"/>