fixed the adherent login redirect to base

This commit is contained in:
Bachir Soussi Chiadmi 2021-05-31 17:16:00 +02:00
parent cbd9570fb1
commit caf223effe
4 changed files with 10 additions and 10 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@ import qs from 'querystring-es3'
import materiauGQL from 'vuejs/api/gql/materiauflaglist.fragment.gql'
// import router from 'vuejs/route' // this is not working
import router from 'vuejs/route' // this is not working
export default {
namespaced: true,
@ -183,7 +183,7 @@ export default {
window.location.reload(true)
}
if (state.isAdherent) {
this.$router.push({
router.push({
name: 'base'
})
}