|
|
@ -177,6 +177,7 @@ export default {
|
|
|
|
document.location.href = document.location.pathname;
|
|
|
|
document.location.href = document.location.pathname;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
initUser(context) {
|
|
|
|
initUser(context) {
|
|
|
|
|
|
|
|
if(!context.getters.userDataSucceeded) {
|
|
|
|
context.commit('userDataRequesting');
|
|
|
|
context.commit('userDataRequesting');
|
|
|
|
getUserData(localStorage.getItem('subscriberId')).then((result) => {
|
|
|
|
getUserData(localStorage.getItem('subscriberId')).then((result) => {
|
|
|
|
let capabilities = Object.assign(
|
|
|
|
let capabilities = Object.assign(
|
|
|
@ -201,4 +202,5 @@ export default {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|