Fix IFCTester handling of falsey properties

This commit is contained in:
Dion Moult
2022-08-11 16:37:46 +10:00
parent a5b1a96dfd
commit 7867c71b6e
4 changed files with 10 additions and 3 deletions
+2 -2
View File
@@ -460,8 +460,8 @@ class IDSFacet extends HTMLElement {
var name = this.idsElement.getElementsByTagNameNS(ns, 'name')[0];
var value = this.getIdsValue(name);
if (value.type == 'simpleValue') {
var content = this.capitalise(value.content.toLowerCase().replace('ifc', ''))
if (value.type == 'simpleValue' || value.type == 'enumeration') {
var content = this.capitalise(value.content.toLowerCase().replaceAll('ifc', ''))
parameters.name = '<ids-param filter="entityName">' + content + '</ids-param>';
this.params.push(value.param);
}