Skip to content

Commit

Permalink
chore: bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
agviegas committed Mar 11, 2024
1 parent b61a3d4 commit 3ed5533
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openbim-components",
"version": "1.4.14",
"version": "1.4.15",
"main": "src/index.js",
"author": "harry collin, antonio gonzalez viegas",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion resources/openbim-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -103498,7 +103498,7 @@ class IfcPropertiesUtils {
return { key: null, name: null };
}
const key = Object.keys(entity).find((key) => key.endsWith("Name")) ?? null;
const name = key ? entity[key].value : null;
const name = key ? entity[key]?.value : null;
return { key, name };
}
static async getQuantityValue(model, quantityID) {
Expand Down

0 comments on commit 3ed5533

Please sign in to comment.