mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
Fix IFCTester handling of falsey properties
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user