mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Merge branch 'advplyr:master' into master
This commit is contained in:
		
						commit
						c7e3f08d39
					
				| @ -43,7 +43,6 @@ export default { | |||||||
|   mixins: [bookshelfCardsHelpers], |   mixins: [bookshelfCardsHelpers], | ||||||
|   data() { |   data() { | ||||||
|     return { |     return { | ||||||
|       routeName: null, |  | ||||||
|       routeFullPath: null, |       routeFullPath: null, | ||||||
|       initialized: false, |       initialized: false, | ||||||
|       bookshelfHeight: 0, |       bookshelfHeight: 0, | ||||||
| @ -632,7 +631,6 @@ export default { | |||||||
|   mounted() { |   mounted() { | ||||||
|     this.initListeners() |     this.initListeners() | ||||||
| 
 | 
 | ||||||
|     this.routeName = this.$route.name // beforeDestroy will have the new route name already, so need to store this |  | ||||||
|     this.routeFullPath = window.location.pathname + (window.location.search || '') |     this.routeFullPath = window.location.pathname + (window.location.search || '') | ||||||
|   }, |   }, | ||||||
|   updated() { |   updated() { | ||||||
|  | |||||||
| @ -260,6 +260,10 @@ function getBookDataFromDir(folderPath, relPath, parseSubtitle = false) { | |||||||
|         title = title.replace(replaceChunk, '').trim() |         title = title.replace(replaceChunk, '').trim() | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  | 
 | ||||||
|  |     if (volumeNumber != null && !isNaN(volumeNumber)) { | ||||||
|  |       volumeNumber = String(Number(volumeNumber)) // Strips leading zeros
 | ||||||
|  |     } | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   var publishedYear = null |   var publishedYear = null | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user