default show gdd and hide gdt

This commit is contained in:
ogerly 2022-12-07 11:44:33 +01:00
parent 21189582e4
commit 2ec6f05def
2 changed files with 4 additions and 5 deletions

View File

@ -8,7 +8,6 @@
{{ $t('GDT') }} {{ $t('GDT') }}
</b-badge> </b-badge>
</div> </div>
<div <div
class="wallet-amount bg-white appBoxShadow gradido-border-radius p-4 border" class="wallet-amount bg-white appBoxShadow gradido-border-radius p-4 border"
:class="showStatus ? 'gradido-global-border-color-accent' : 'border-light opacity-05'" :class="showStatus ? 'gradido-global-border-color-accent' : 'border-light opacity-05'"

View File

@ -51,10 +51,10 @@ export const mutations = {
state.creation = creation state.creation = creation
}, },
hideAmountGDD: (state, hideAmountGDD) => { hideAmountGDD: (state, hideAmountGDD) => {
state.hideAmountGDD = hideAmountGDD state.hideAmountGDD = !!hideAmountGDD
}, },
hideAmountGDT: (state, hideAmountGDT) => { hideAmountGDT: (state, hideAmountGDT) => {
state.hideAmountGDT = hideAmountGDT state.hideAmountGDT = !!hideAmountGDT
}, },
} }
@ -85,7 +85,7 @@ export const actions = {
commit('isAdmin', false) commit('isAdmin', false)
commit('creation', null) commit('creation', null)
commit('hideAmountGDD', false) commit('hideAmountGDD', false)
commit('hideAmountGDT', false) commit('hideAmountGDT', true)
localStorage.clear() localStorage.clear()
}, },
} }
@ -113,7 +113,7 @@ try {
publisherId: null, publisherId: null,
creation: null, creation: null,
hideAmountGDD: false, hideAmountGDD: false,
hideAmountGDT: false, hideAmountGDT: true,
}, },
getters: {}, getters: {},
// Syncronous mutation of the state // Syncronous mutation of the state