mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-11-07 16:44:16 +01:00
Fix podcast re-scan, fix more menu item
This commit is contained in:
parent
03bfecefee
commit
d5e96a3422
@ -324,7 +324,7 @@ export default {
|
||||
}
|
||||
if (this.userCanUpdate) {
|
||||
items.push({
|
||||
func: 'showEditModalTracks',
|
||||
func: 'showEditModalFiles',
|
||||
text: 'Files'
|
||||
})
|
||||
items.push({
|
||||
@ -451,9 +451,9 @@ export default {
|
||||
this.rescanning = false
|
||||
})
|
||||
},
|
||||
showEditModalTracks() {
|
||||
showEditModalFiles() {
|
||||
// More menu func
|
||||
this.store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'tracks' })
|
||||
this.store.commit('showEditModalOnTab', { libraryItem: this.libraryItem, tab: 'files' })
|
||||
},
|
||||
showEditModalMatch() {
|
||||
// More menu func
|
||||
|
@ -122,7 +122,9 @@ class Podcast {
|
||||
}
|
||||
|
||||
findFileWithInode(inode) {
|
||||
return this.episodes.find(ep => ep.audioFile.ino === inode)
|
||||
var episode = this.episodes.find(ep => ep.audioFile.ino === inode)
|
||||
if (episode) return episode.audioFile
|
||||
return null
|
||||
}
|
||||
|
||||
setData(mediaMetadata) {
|
||||
|
Loading…
Reference in New Issue
Block a user