@experium/findy-form 1.3.11 → 1.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -161,7 +161,7 @@ var PersonalDataAgreementComponent = /*#__PURE__*/function (_Component) {
|
|
|
161
161
|
};
|
|
162
162
|
var linkText = (0, _ramda.path)(['data', 'translations', 'labelLink', pdaLanguage], opdSettings) || (0, _ramda.pathOr)((0, _ramda.pathOr)(t('opdLink'), ['labelLink'], opdSettings), ['translations', 'labelLink', language], opdSettings);
|
|
163
163
|
var link = (0, _ramda.path)(['data', 'translations', 'link', pdaLanguage], opdSettings) || (0, _ramda.pathOr)((0, _ramda.path)(['link'], opdSettings), ['translations', 'link', language], opdSettings);
|
|
164
|
-
var opdText = (0, _ramda.
|
|
164
|
+
var opdText = (0, _ramda.path)(['data', 'translations', 'text', pdaLanguage], opdSettings) || (0, _ramda.pathOr)(opd, ['translations', 'text', language], opdSettings);
|
|
165
165
|
var opdType = (0, _ramda.pathOr)('modal', ['linkType'], opdSettings);
|
|
166
166
|
return /*#__PURE__*/_react["default"].createElement("span", null, renderOpdLabel ? renderOpdLabel(modalLinkProps) : label !== 'opdLabelCustom' ? label : /*#__PURE__*/_react["default"].createElement(_react.Fragment, null, (0, _ramda.path)(['data', 'translations', 'labelStart', pdaLanguage], opdSettings) || (0, _ramda.pathOr)((0, _ramda.pathOr)(t('opdLabel'), ['labelStart'], opdSettings), ['translations', 'labelStart', language], opdSettings), ' ', opdType === 'modal' ? /*#__PURE__*/_react["default"].createElement("span", modalLinkProps, linkText) : /*#__PURE__*/_react["default"].createElement("a", {
|
|
167
167
|
href: "//".concat(link),
|
package/package.json
CHANGED
|
@@ -69,7 +69,7 @@ class PersonalDataAgreementComponent extends Component {
|
|
|
69
69
|
};
|
|
70
70
|
const linkText = path(['data', 'translations', 'labelLink', pdaLanguage], opdSettings) || pathOr(pathOr(t('opdLink'), ['labelLink'], opdSettings), ['translations', 'labelLink', language], opdSettings);
|
|
71
71
|
const link = path(['data', 'translations', 'link', pdaLanguage], opdSettings) || pathOr(path(['link'], opdSettings), ['translations', 'link', language], opdSettings);
|
|
72
|
-
const opdText =
|
|
72
|
+
const opdText = path(['data', 'translations', 'text', pdaLanguage], opdSettings) || pathOr(opd, ['translations', 'text', language], opdSettings);
|
|
73
73
|
const opdType = pathOr('modal', ['linkType'], opdSettings);
|
|
74
74
|
|
|
75
75
|
return <span>
|