Browse Source

Fix project store to use Project model

pull/2217/head
Hironsan 1 year ago
parent
commit
03eadfa674
1 changed files with 1 additions and 7 deletions
  1. 8
      frontend/store/projects.js

8
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
}
}

Loading…
Cancel
Save