Lazy bookshelf finalized

This commit is contained in:
advplyr committed 2021-12-01 19:07:03 -06:00
1 parent 5c92aef048
commit 1ef9a689bc
53 files changed
+914 -795

No files matched your search

+3 -1
View File
@@ -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 {