mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-06 18:52:43 +02:00
Batch updating and deleting, multi-select
This commit is contained in:
@@ -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}`)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user