mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-02 05:24:58 +02:00
Batch updating and deleting, multi-select
This commit is contained in:
parent
64cc7efa6a
commit
db0ecfb51b
13 changed files with 358 additions and 33 deletions
|
@ -1,6 +1,7 @@
|
|||
export default function ({ store, redirect, route }) {
|
||||
// If the user is not authenticated
|
||||
if (!store.state.user.user) {
|
||||
if (route.name === 'batch') return redirect('/login')
|
||||
return redirect(`/login?redirect=${route.path}`)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue