Mercurial > gemma
view client/src/morphtool/store.js @ 977:4a2ca0e20006
Fixed build error.
Copied file to the wrong place and said 'go build' to another wrong place. Argh.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Thu, 18 Oct 2018 17:30:53 +0200 |
parents | 3da707172772 |
children | ca628dce90dd |
line wrap: on
line source
const MorphStore = { namespaced: true, state: { selectedMorph: null }, getters: { selectedMorph: state => { return state.selectedMorph; } }, mutations: { setSelectedMorph: (state, selectedMorph) => { state.selectedMorph = selectedMorph; } } }; export default MorphStore;