[Static Root] Static Root Plugin not loading (#5455)

* Log if hitting falsy leafValue

* Add some logging

* Remove logs and specify null/undefined

Co-authored-by: Jesse Mazzella <ozyx@users.noreply.github.com>
This commit is contained in:
Khalid Adil 2022-07-07 17:00:33 -05:00 committed by GitHub
parent ed9ca2829b
commit 9d89bdd6d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ class StaticModelProvider {
}
parseTreeLeaf(leafKey, leafValue, idMap, namespace) {
if (!leafValue) {
if (leafValue === null || leafValue === undefined) {
return leafValue;
}