From d95390e68bb03c820be373764da37e6111611eeb Mon Sep 17 00:00:00 2001 From: magiodev <31893902+magiodev@users.noreply.github.com> Date: Sun, 12 May 2024 23:36:41 +0200 Subject: [PATCH] reallocations amount render --- frontend-ms/src/components/Game/PotsComponent.vue | 6 +++++- frontend/src/components/Game/PotsComponent.vue | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend-ms/src/components/Game/PotsComponent.vue b/frontend-ms/src/components/Game/PotsComponent.vue index 43d02f6..aac309e 100644 --- a/frontend-ms/src/components/Game/PotsComponent.vue +++ b/frontend-ms/src/components/Game/PotsComponent.vue @@ -2,6 +2,10 @@
+ +
+

You have reallocated funds {{playerReallocations}} out of the {{gameConfig.reallocations_limit}} times allowed.

+
@@ -21,7 +25,7 @@ export default { components: {PotItemComponent}, computed: { - ...mapGetters(['pots']), + ...mapGetters(['pots', "playerReallocations", "userAddress", "gameConfig"]), }, methods: { diff --git a/frontend/src/components/Game/PotsComponent.vue b/frontend/src/components/Game/PotsComponent.vue index 43d02f6..aac309e 100644 --- a/frontend/src/components/Game/PotsComponent.vue +++ b/frontend/src/components/Game/PotsComponent.vue @@ -2,6 +2,10 @@
+ +
+

You have reallocated funds {{playerReallocations}} out of the {{gameConfig.reallocations_limit}} times allowed.

+
@@ -21,7 +25,7 @@ export default { components: {PotItemComponent}, computed: { - ...mapGetters(['pots']), + ...mapGetters(['pots', "playerReallocations", "userAddress", "gameConfig"]), }, methods: {