app/javascript/vue/tasks/digitize/components/collectionObject/mixins/extendCO.js
import { GetterNames } from '../../../store/getters/getters'
import { MutationNames } from '../../../store/mutations/mutations'
export default {
computed: {
collectionObject: {
get () {
return this.$store.getters[GetterNames.GetCollectionObject]
},
set (value) {
this.$store.commit(MutationNames.SetCollectionObject, value)
}
}
}
}