Blame view

api/dashboard/src/middleware/guest.js 185 Bytes
25df08e6c   Chris Bellas   Merged changes fr...
1
  // import store from '~/store'
0d8c0f816   Thanasis Naskos   initial commit
2
3
  
  export default (to, from, next) => {
25df08e6c   Chris Bellas   Merged changes fr...
4
5
6
7
8
9
    next()
    // if (store.getters['auth/check']) {
    //   next({ name: 'home' })
    // } else {
    //   next()
    // }
0d8c0f816   Thanasis Naskos   initial commit
10
  }