We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87b8a95 commit 60f8fd3Copy full SHA for 60f8fd3
lib/settings.js
@@ -162,9 +162,6 @@ class Settings {
162
return
163
}
164
165
- //remove nulls and undefined in the results
166
- this.results = this.results.filter((thing) => thing ? true : false)
167
-
168
//remove duplicate rows in this.results
169
this.results = this.results.filter((thing, index, self) => {
170
return index === self.findIndex((t) => {
@@ -827,7 +824,10 @@ ${this.results.reduce((x, y) => {
827
824
828
825
appendToResults(res) {
829
826
if (this.nop) {
830
- this.results = this.results.concat(res.flat(3))
+ //Remove nulls and undefined from the results
+ const results = res.flat(3).filter(r => r)
+
+ this.results = this.results.concat(results)
831
832
833
0 commit comments