From a57ffdb6c6abdcb32d809ed058a70045b36e9306 Mon Sep 17 00:00:00 2001 From: Artus Date: Wed, 12 Jun 2019 16:27:10 +0200 Subject: [PATCH] add wealth update boilerplate --- lootalot_front/src/components/GroupChest.vue | 2 +- lootalot_front/src/components/Player.vue | 8 +- lootalot_front/src/components/Wealth.vue | 102 +++++++++++++------ 3 files changed, 78 insertions(+), 34 deletions(-) diff --git a/lootalot_front/src/components/GroupChest.vue b/lootalot_front/src/components/GroupChest.vue index 9022e4f..8189fb0 100644 --- a/lootalot_front/src/components/GroupChest.vue +++ b/lootalot_front/src/components/GroupChest.vue @@ -8,7 +8,7 @@

Coffre de groupe

- + diff --git a/lootalot_front/src/components/Player.vue b/lootalot_front/src/components/Player.vue index ac9d2bd..efd4ca9 100644 --- a/lootalot_front/src/components/Player.vue +++ b/lootalot_front/src/components/Player.vue @@ -26,7 +26,10 @@
- + +

Dette : {{ player.debt }}gp

@@ -71,6 +74,7 @@ {id: 3, name: "Fefi"}, ], show_dropdown: false, + edit_wealth: false, }; }, computed: { diff --git a/lootalot_front/src/components/Wealth.vue b/lootalot_front/src/components/Wealth.vue index c23cdb9..41fdef9 100644 --- a/lootalot_front/src/components/Wealth.vue +++ b/lootalot_front/src/components/Wealth.vue @@ -1,39 +1,79 @@