From 3840771a584b8020672ba00df981e501509209b2 Mon Sep 17 00:00:00 2001 From: Boubaker Khanfir Date: Wed, 28 Aug 2024 18:05:46 +0100 Subject: [PATCH 1/5] feat: Display - instead of 0 in Wallet Overview Widget - MEED-7354 - Meeds-io/MIPs#155 (#545) --- .../wallet-user-balance/components/WalletUserBalance.vue | 2 +- .../weekly-earnings/components/WeeklyEarnings.vue | 2 +- .../wallet-setup-admin/components/WalletAdminSetup.vue | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/wallet-webapps/src/main/webapp/vue-app/wallet-common/wallet-user-balance/components/WalletUserBalance.vue b/wallet-webapps/src/main/webapp/vue-app/wallet-common/wallet-user-balance/components/WalletUserBalance.vue index f5a7965f2..571c4da37 100644 --- a/wallet-webapps/src/main/webapp/vue-app/wallet-common/wallet-user-balance/components/WalletUserBalance.vue +++ b/wallet-webapps/src/main/webapp/vue-app/wallet-common/wallet-user-balance/components/WalletUserBalance.vue @@ -10,7 +10,7 @@ - {{ balanceToDisplay }} + {{ balanceToDisplay || '-' }} diff --git a/wallet-webapps/src/main/webapp/vue-app/wallet-common/weekly-earnings/components/WeeklyEarnings.vue b/wallet-webapps/src/main/webapp/vue-app/wallet-common/weekly-earnings/components/WeeklyEarnings.vue index d3508da59..c4ba07675 100644 --- a/wallet-webapps/src/main/webapp/vue-app/wallet-common/weekly-earnings/components/WeeklyEarnings.vue +++ b/wallet-webapps/src/main/webapp/vue-app/wallet-common/weekly-earnings/components/WeeklyEarnings.vue @@ -25,7 +25,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - {{ weeklyRewardToDisplay }} + {{ weeklyRewardToDisplay || '-' }} diff --git a/wallet-webapps/src/main/webapp/vue-app/wallet-setup-admin/components/WalletAdminSetup.vue b/wallet-webapps/src/main/webapp/vue-app/wallet-setup-admin/components/WalletAdminSetup.vue index b3e00f33f..abab87f75 100644 --- a/wallet-webapps/src/main/webapp/vue-app/wallet-setup-admin/components/WalletAdminSetup.vue +++ b/wallet-webapps/src/main/webapp/vue-app/wallet-setup-admin/components/WalletAdminSetup.vue @@ -22,7 +22,10 @@