Merge pull request #252 from paireks/patch-1

Creates empty info if there is no properties
This commit is contained in:
Viktor Kovacs 2022-05-02 17:33:36 +01:00 committed by GitHub
commit 913dff36f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,8 +93,7 @@ export class ExporterBim extends ExporterBase
info[property.name] = PropertyToString (property);
}
}
if (Object.keys (info).length !== 0) {
targetObject.info = info;
}
targetObject.info = info;
}
}