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') }}
</b-badge>
</div>
<div
class="wallet-amount bg-white appBoxShadow gradido-border-radius p-4 border"
:class="showStatus ? 'gradido-global-border-color-accent' : 'border-light opacity-05'"

View File

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