fix creation 1000 GDD for max musterman

This commit is contained in:
ogerly 2021-03-02 06:08:23 +01:00
parent 14656c85ac
commit e18121ddfc
4 changed files with 8 additions and 4 deletions

@ -1 +1 @@
Subproject commit 7ec49de346b59ed73fa069b0cc4ee8ee927b77e6
Subproject commit 36ddbba5815435575b2d3c1270d738ccabc9eb54

View File

@ -42,7 +42,7 @@ export const store = new Vuex.Store({
},
user_balance: (state,balance) => {
console.log('mutation: user_balance')
state.user.balance = balance
state.user.balance = balance / 10000
},
transactions: (state,transactions) => {
console.log('mutation: transactions')

View File

@ -6,7 +6,7 @@
type="gradient-red"
sub-title="balance_gdd"
class="mb-4">
{{ balance_gdd }} GDD
{{ $store.state.user.balance.toFixed(4) }} GDD
<template slot="footer">
<span class="text-success mr-2">Wird immer angezeigt</span>
</template>
@ -36,5 +36,9 @@ export default {
balance_gdt: "0",
}
},
mounted() {
this.$store.dispatch('accountBalance')
},
};
</script>

@ -1 +1 @@
Subproject commit 66dcb3a68397662c15729d559d64b4781a5e2f40
Subproject commit 9b9115290c8d2ead756d64b70ae63a6571aa4693