File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @thatopen/components" ,
33 "description" : " Collection of core functionalities to author BIM apps." ,
4- "version" : " 2.3.8 " ,
4+ "version" : " 2.3.9 " ,
55 "author" : " That Open Company" ,
66 "contributors" : [
77 " Antonio Gonzalez Viegas (https://github.com/agviegas)" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export class Components implements Disposable {
1414 /**
1515 * The version of the @thatopen/components library.
1616 */
17- static readonly release = "2.3.8 " ;
17+ static readonly release = "2.3.9 " ;
1818
1919 /** {@link Disposable.onDisposed } */
2020 readonly onDisposed = new Event < void > ( ) ;
Original file line number Diff line number Diff line change @@ -25,12 +25,18 @@ export class IfcMetadataReader {
2525 if ( authorName ?. value ) data . author . name = authorName . value ;
2626 if ( authorEmail ?. value ) data . author . email = authorEmail . value ;
2727 }
28- if ( organization [ 0 ] ?. value ) data . organization = organization [ 0 ] . value ;
29- if ( preprocessorVersion ?. value )
28+ if ( organization && organization [ 0 ] ?. value ) {
29+ data . organization = organization [ 0 ] . value ;
30+ }
31+ if ( preprocessorVersion ?. value ) {
3032 data . preprocessorVersion = preprocessorVersion ?. value ;
31- if ( originatingSystem ?. value )
33+ }
34+ if ( originatingSystem ?. value ) {
3235 data . originatingSystem = originatingSystem ?. value ;
33- if ( authorization ?. value ) data . authorization = authorization ?. value ;
36+ }
37+ if ( authorization ?. value ) {
38+ data . authorization = authorization ?. value ;
39+ }
3440 return data ;
3541 }
3642
You can’t perform that action at this time.
0 commit comments