mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-13 10:55:05 +02:00
Side rail, book group cards, fix dropdown select
This commit is contained in:
parent
94741598af
commit
fcd664c16e
24 changed files with 615 additions and 97 deletions
|
@ -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}`)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue