Side rail, book group cards, fix dropdown select

This commit is contained in:
advplyr 2021-09-24 07:32:38 -05:00
parent 31e109d0f0
commit 37c38e69df
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}`)
}
}