x
console.log(store.getters.currentUser);
returns : {id: 402, first_name: "x", last_name: "y", email: "xy@gmail.com", email_verified_at: null, …}
Hi,
Could you please specify which Metronic version are you using?
Regards,
Lauris Stepanovs,
Keenthemes Support Team
v8.1.3
The currentUser getter will return an object which you assigned in your VUEX actions.
You can update key names on your server or override names on the client as shown below.
let overriddenObj = {
name: sourceObj. first_name,
surname: sourceObj.last_name,
...
}