You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
348 B
21 lines
348 B
import M from '../ao-lib/mutations.js' |
|
|
|
const state = [] // aka members (in this file): |
|
|
|
const mutations = { |
|
setCurrent(members, current) { |
|
members.length = 0 |
|
current.members.forEach(member => { |
|
members.push(member) |
|
}) |
|
}, |
|
applyEvent: M.membersMuts, |
|
} |
|
|
|
const actions = {} |
|
|
|
export default { |
|
state, |
|
mutations, |
|
actions, |
|
}
|
|
|