mirror of
https://github.com/wekan/wekan.git
synced 2025-04-23 13:37:09 -04:00
commit
0ba272b22c
1 changed files with 3 additions and 3 deletions
|
@ -66,9 +66,9 @@ class SetFilter {
|
|||
|
||||
_getEmptySelector() {
|
||||
this._dep.depend();
|
||||
let includeEmpty = false
|
||||
let includeEmpty = false;
|
||||
this._selectedElements.forEach((el) => {
|
||||
if (el == undefined) {
|
||||
if (el === undefined) {
|
||||
includeEmpty = true;
|
||||
}
|
||||
});
|
||||
|
@ -113,7 +113,7 @@ Filter = {
|
|||
if (filter._isActive()) {
|
||||
filterSelector[fieldName] = filter._getMongoSelector();
|
||||
emptySelector[fieldName] = filter._getEmptySelector();
|
||||
if (emptySelector[fieldName] != null) {
|
||||
if (emptySelector[fieldName] !== null) {
|
||||
includeEmptySelectors = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue