mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +01:00
Merge pull request #456 from rasmuslos/master
Fixed "select all" button
This commit is contained in:
commit
642e9787c0
@ -81,7 +81,7 @@ export default {
|
||||
},
|
||||
selectAll: {
|
||||
get() {
|
||||
return this.episodesSelected.length == this.episodes.length
|
||||
return this.episodesSelected.length == this.episodes.filter((_, index) => !(this.episodes[index].enclosure && this.itemEpisodeMap[this.episodes[index].enclosure.url])).length
|
||||
},
|
||||
set(val) {
|
||||
for (const key in this.selectedEpisodes) {
|
||||
|
@ -136,6 +136,6 @@ module.exports = {
|
||||
},
|
||||
server: {
|
||||
port: process.env.NODE_ENV === 'production' ? 80 : 3000,
|
||||
host: process.env.NODE_ENV === 'production' ? '0.0.0.0' : 'localhost'
|
||||
host: '0.0.0.0'
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user