forked from mystiq/hydrogen-web
children is undefined here actually, so filter wasn't working properly
This commit is contained in:
parent
cd68bb7b3f
commit
bd85dc2393
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export class LogFilter {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// neither our children or us have a loglevel high enough, filter out.
|
// neither our children or us have a loglevel high enough, filter out.
|
||||||
if (this._min !== null && children === null && item.logLevel < this._min) {
|
if (this._min !== null && !Array.isArray(children) && item.logLevel < this._min) {
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue