Update db.js

pull/3045/head
Aleksandr Statciuk 4 years ago
parent 8ac52e983a
commit 8626f1f2d9

@ -83,6 +83,11 @@ db.channels = {
})
}
if (!this.nsfw) {
output = output.filter(channel => !channel.isNSFW())
}
this.nsfw = true
this.duplicates = true
this.filter = null
@ -93,6 +98,11 @@ db.channels = {
return this
},
removeNSFW() {
this.nsfw = false
return this
},
all() {
return this.list
},

Loading…
Cancel
Save