mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-04 05:56:27 +01:00
Lazy bookshelf finalized
This commit is contained in:
1 parent
5c92aef048
commit
1ef9a689bc
53 files changed
+914
-795
No files matched your search
@@ -79,7 +79,9 @@ export default {
|
||||
this.disabled = true
|
||||
await this.$store.dispatch('libraries/fetch', library.id)
|
||||
|
||||
if (this.$route.name.startsWith('library')) {
|
||||
if (this.$route.name.startsWith('config')) {
|
||||
// No need to refresh
|
||||
} else if (this.$route.name.startsWith('library')) {
|
||||
var newRoute = this.$route.path.replace(currLibraryId, library.id)
|
||||
this.$router.push(newRoute)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user