fix: resolved errors in formatting search results

This commit is contained in:
Roberto Tonino
2020-11-02 20:00:09 +01:00
parent 7f0d621f62
commit 738a2ff35e
5 changed files with 29 additions and 17 deletions

View File

@@ -109,7 +109,7 @@ export function getProperty(obj, ...props) {
}, obj)
: obj[prop]
if (!!valueToTest) {
if ('undefined' !== typeof valueToTest) {
return valueToTest
}
}