From 2ec6f05def59687eef8e4c1e990efeeff9dab17d Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 7 Dec 2022 11:44:33 +0100 Subject: [PATCH] default show gdd and hide gdt --- .../src/components/Template/ContentHeader/GdtAmount.vue | 1 - frontend/src/store/store.js | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/Template/ContentHeader/GdtAmount.vue b/frontend/src/components/Template/ContentHeader/GdtAmount.vue index eca0bb8e3..154676c80 100644 --- a/frontend/src/components/Template/ContentHeader/GdtAmount.vue +++ b/frontend/src/components/Template/ContentHeader/GdtAmount.vue @@ -8,7 +8,6 @@ {{ $t('GDT') }} -
{ - 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