Browse Source

fixed the adherent login redirect to base

bach 3 years ago
parent
commit
caf223effe

File diff suppressed because it is too large
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


BIN
web/themes/custom/materiotheme/assets/dist/main.js.gz


File diff suppressed because it is too large
+ 1 - 1
web/themes/custom/materiotheme/assets/dist/report.html


+ 2 - 2
web/themes/custom/materiotheme/vuejs/store/modules/user.js

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

Some files were not shown because too many files changed in this diff