mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-31 10:31:53 +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: {
|
selectAll: {
|
||||||
get() {
|
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) {
|
set(val) {
|
||||||
for (const key in this.selectedEpisodes) {
|
for (const key in this.selectedEpisodes) {
|
||||||
|
@ -136,6 +136,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: process.env.NODE_ENV === 'production' ? 80 : 3000,
|
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