mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +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' |           component: 'modals-libraries-library-tools' | ||||||
|         } |         } | ||||||
|       ].filter((tab) => { |       ].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' |         return tab.id !== 'scanner' || this.mediaType === 'book' | ||||||
|       }) |       }) | ||||||
|     }, |     }, | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user