fixed the adherent login redirect to base

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

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'
})
}