Side rail, book group cards, fix dropdown select

This commit is contained in:
Mark Cooper 2021-09-24 07:32:38 -05:00
parent 94741598af
commit fcd664c16e
24 changed files with 615 additions and 97 deletions

View file

@ -1,7 +1,7 @@
export default function ({ store, redirect, route }) {
export default function ({ store, redirect, route, app }) {
// If the user is not authenticated
if (!store.state.user.user) {
if (route.name === 'batch') return redirect('/login')
return redirect(`/login?redirect=${route.path}`)
return redirect(`/login?redirect=${route.fullPath}`)
}
}