diff --git a/frontend/store/projects.js b/frontend/store/projects.js index f3b4a558..5adc1e7a 100644 --- a/frontend/store/projects.js +++ b/frontend/store/projects.js @@ -14,13 +14,7 @@ export const getters = { export const mutations = { setCurrent(state, payload) { - state.current = { - ...payload, - canDefineCategory: payload.canDefineCategory, - canDefineLabel: payload.canDefineLabel, - canDefineRelation: payload.canDefineRelation, - canDefineSpan: payload.canDefineSpan - } + state.current = payload } }