@jsreport/jsreport-localization
Advanced tools
Comparing version 3.2.1 to 3.2.2
@@ -16,3 +16,3 @@ const fs = require('fs').promises | ||
reporter.beforeRenderListeners.add(definition.name, (req) => { | ||
if (req.template.localization?.language != null && req.options.localization?.language == null) { | ||
if (req.template.localization?.language != null && req.options.localization?.language == null && req.options.language == null) { | ||
req.options.localization = Object.assign({}, req.options.localization, { language: req.template.localization.language }) | ||
@@ -19,0 +19,0 @@ } |
{ | ||
"name": "@jsreport/jsreport-localization", | ||
"version": "3.2.1", | ||
"version": "3.2.2", | ||
"description": "jsreport extension adding localize helper", | ||
@@ -36,8 +36,8 @@ "keywords": [ | ||
"handlebars": "4.7.7", | ||
"@jsreport/jsreport-assets": "3.4.2", | ||
"@jsreport/jsreport-core": "3.6.0", | ||
"@jsreport/jsreport-components": "3.2.1", | ||
"@jsreport/jsreport-child-templates": "3.0.3", | ||
"@jsreport/jsreport-handlebars": "3.1.0", | ||
"@jsreport/studio-dev": "3.1.0", | ||
"@jsreport/jsreport-assets": "3.6.0", | ||
"@jsreport/jsreport-core": "3.11.0", | ||
"@jsreport/jsreport-components": "3.3.0", | ||
"@jsreport/jsreport-child-templates": "3.1.0", | ||
"@jsreport/jsreport-handlebars": "3.2.1", | ||
"@jsreport/studio-dev": "3.2.1", | ||
"mocha": "8.3.2", | ||
@@ -44,0 +44,0 @@ "should": "13.2.3", |
@@ -10,2 +10,6 @@ # jsreport-localization | ||
### 3.2.2 | ||
- use old `req.options.language` when `req.template.localization` is empty | ||
### 3.2.1 | ||
@@ -12,0 +16,0 @@ |
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
20611
30