mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Hide library modal tools tab for new libraries
This commit is contained in:
parent
58b9a42c84
commit
50215dab9a
@ -88,6 +88,8 @@ export default {
|
||||
component: 'modals-libraries-library-tools'
|
||||
}
|
||||
].filter((tab) => {
|
||||
// Do not show tools tab for new libraries
|
||||
if (tab.id === 'tools' && !this.library) return false
|
||||
return tab.id !== 'scanner' || this.mediaType === 'book'
|
||||
})
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user