Added retrieving user object from store
This commit is contained in:
@@ -46,6 +46,7 @@ export default new Vuex.Store({
|
||||
},
|
||||
getters: {
|
||||
auth: (state) => state.user !== undefined,
|
||||
user: (state) => state.user,
|
||||
},
|
||||
modules: {},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user