fixed pricing new registered user redirection to checkout
This commit is contained in:
@ -187,9 +187,9 @@ export default {
|
||||
dispatch('getUser').then(userdata => {
|
||||
console.log('User Loggedin', state.isAdmin, state.isAdherent)
|
||||
// have to reload systematicly because of autologout library not loaded if not logged in the begining
|
||||
// if (state.isAdmin) {
|
||||
// window.location.reload()
|
||||
// }
|
||||
if (state.isAdmin) {
|
||||
window.location.reload()
|
||||
}
|
||||
if (state.isAdherent) {
|
||||
// router.push({
|
||||
// name: 'base'
|
||||
@ -197,9 +197,10 @@ export default {
|
||||
// // TODO: openCloseHamMenu(false)
|
||||
// dispatch('Common/openCloseHamMenu', false)
|
||||
window.location = '/base'
|
||||
} else {
|
||||
window.location.reload()
|
||||
}
|
||||
// else {
|
||||
// // * window.location.reload()
|
||||
// }
|
||||
resolve()
|
||||
})
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user