cambios del 24 de abril

This commit is contained in:
2021-04-25 15:55:18 -05:00
parent 2b01e58388
commit 48dfb5e64f
19 changed files with 542 additions and 6462 deletions

View File

@@ -0,0 +1,9 @@
//If the user has a token, we send it to index
//Si el usuario tiene token lo enviamos a index
export default function({ store, redirect }) {
store.dispatch('readToken');
if (store.state.auth) {
return redirect('/compras')
}
}