mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-05-24 14:45:13 +00:00
Fix collapse sub series show series name
This commit is contained in:
parent
9fd6ff9fd2
commit
f8ce0b8355
1 changed files with 4 additions and 4 deletions
|
|
@ -240,10 +240,10 @@ export default {
|
|||
},
|
||||
displayTitle() {
|
||||
if (this.recentEpisode) return this.recentEpisode.title
|
||||
if (this.orderBy === 'media.metadata.title' && this.sortingIgnorePrefix && this.title.toLowerCase().startsWith('the ')) {
|
||||
return this.title.substr(4) + ', The'
|
||||
}
|
||||
return this.title
|
||||
|
||||
const ignorePrefix = this.orderBy === 'media.metadata.title' && this.sortingIgnorePrefix
|
||||
if (this.collapsedSeries) return ignorePrefix ? this.collapsedSeries.nameIgnorePrefix : this.collapsedSeries.name
|
||||
return ignorePrefix ? this.mediaMetadata.titleIgnorePrefix : this.title
|
||||
},
|
||||
displayLineTwo() {
|
||||
if (this.recentEpisode) return this.title
|
||||
|
|
|
|||
Loading…
Reference in a new issue