mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-05-30 06:40:14 +02:00
Update:Remain on same tab in item edit modal when navigating next/prev #867
This commit is contained in:
parent
21e1f62c65
commit
45cd39ac0c
@ -190,7 +190,6 @@ export default {
|
|||||||
if (prevBook) {
|
if (prevBook) {
|
||||||
this.unregisterListeners()
|
this.unregisterListeners()
|
||||||
this.libraryItem = prevBook
|
this.libraryItem = prevBook
|
||||||
this.selectedTab = 'details'
|
|
||||||
this.$store.commit('setSelectedLibraryItem', prevBook)
|
this.$store.commit('setSelectedLibraryItem', prevBook)
|
||||||
this.$nextTick(this.registerListeners)
|
this.$nextTick(this.registerListeners)
|
||||||
} else {
|
} else {
|
||||||
@ -210,7 +209,6 @@ export default {
|
|||||||
if (nextBook) {
|
if (nextBook) {
|
||||||
this.unregisterListeners()
|
this.unregisterListeners()
|
||||||
this.libraryItem = nextBook
|
this.libraryItem = nextBook
|
||||||
this.selectedTab = 'details'
|
|
||||||
this.$store.commit('setSelectedLibraryItem', nextBook)
|
this.$store.commit('setSelectedLibraryItem', nextBook)
|
||||||
this.$nextTick(this.registerListeners)
|
this.$nextTick(this.registerListeners)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user