feat: react to OLX parser process number answers (#230)

This commit is contained in:
Raymond Zhou
2023-02-02 12:30:05 -08:00
committed by GitHub
parent 57dd03f40f
commit d978725c35

View File

@@ -270,7 +270,7 @@ class ReactStateOLXParser {
}
hasAttributeWithValue(obj, attr) {
return _.has(obj, attr) && _.get(obj, attr, '').trim() !== '';
return _.has(obj, attr) && _.get(obj, attr, '').toString().trim() !== '';
}
buildOLX() {