client: namespaces for actions and getteters

This commit is contained in:
Matteo Pagliazzi
2016-12-08 23:01:59 -08:00
parent f9f22f313f
commit 1de4ab3612
14 changed files with 135 additions and 47 deletions

View File

@@ -213,7 +213,9 @@ import { mapState, mapGetters } from '../store';
export default {
computed: {
...mapGetters(['userGems']),
...mapGetters({
userGems: 'user:gems',
}),
...mapState(['user']),
},
};