@contrail/document-generation
Advanced tools
Comparing version 2.0.45 to 2.0.46
@@ -137,3 +137,3 @@ "use strict"; | ||
if (!group.isSecondaryGroup && | ||
group.subGroups.filter(subgroup => subgroup.name === group.subGroups[0].name).length > 1) { | ||
group.subGroups.filter((subgroup) => subgroup.name === group.subGroups[0].name).length > 1) { | ||
subgroups.push(group.subGroups[0]); | ||
@@ -140,0 +140,0 @@ } |
@@ -53,6 +53,4 @@ "use strict"; | ||
var _a; | ||
const rootSlug = util_1.StringUtil.convertToCamelCase(property.typeRootSlug); | ||
const slug = property.propertyDefinition.slug; | ||
const modelKey = `${rootSlug}.${slug}`; | ||
const value = util_1.ObjectUtil.getBySlugs(model, rootSlug, slug); | ||
const modelKey = `${util_1.StringUtil.convertToCamelCase(property.typeRootSlug)}.${property.propertyDefinition.slug}`; | ||
const value = util_1.ObjectUtil.getByPath(model, modelKey); | ||
let display = formatter.formatValueForProperty(value, property.propertyDefinition); | ||
@@ -59,0 +57,0 @@ if (!isComponent) { |
{ | ||
"name": "@contrail/document-generation", | ||
"version": "2.0.45", | ||
"version": "2.0.46", | ||
"description": "Utilities for automatic generation of documents.", | ||
@@ -48,4 +48,4 @@ "main": "lib/index.js", | ||
"@contrail/types": "^3.0.27", | ||
"@contrail/util": "^1.0.62" | ||
"@contrail/util": "^1.0.63" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1104953
28088
Updated@contrail/util@^1.0.63