diff --git a/client/package.json b/client/package.json index 2ec624ff..7c864cd4 100644 --- a/client/package.json +++ b/client/package.json @@ -15,6 +15,7 @@ "axios": "^1.7.2", "core-js": "^3.33.2", "file-saver": "^2.0.5", + "javascript-time-ago": "^2.5.11", "jszip": "^3.10.1", "mosha-vue-toastify": "^1.0.23", "pinia": "^2.3.1", diff --git a/client/src/components/TopupPayment.vue b/client/src/components/TopupPayment.vue index 7dc643e5..187f770c 100644 --- a/client/src/components/TopupPayment.vue +++ b/client/src/components/TopupPayment.vue @@ -14,7 +14,7 @@ -

${{ balance }}

+

${{ getTotalBalance }}

current balance @@ -111,7 +111,7 @@ diff --git a/client/src/layouts/default/AppBar.vue b/client/src/layouts/default/AppBar.vue index eb253ab6..f49b5346 100644 --- a/client/src/layouts/default/AppBar.vue +++ b/client/src/layouts/default/AppBar.vue @@ -43,7 +43,7 @@ - Balance: ${{ user?.balance }} + Balance: ${{ getTotalBalance }}