mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
default show gdd and hide gdt
This commit is contained in:
parent
21189582e4
commit
2ec6f05def
@ -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'"
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user