intelicoreact 0.3.4 → 0.3.5
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.
|
@@ -35,6 +35,7 @@ var UserContacts = function UserContacts(props) {
|
|
|
35
35
|
var _ref = props || {},
|
|
36
36
|
email = _ref.email,
|
|
37
37
|
phone = _ref.phone,
|
|
38
|
+
contactType = _ref.contactType,
|
|
38
39
|
_ref$isDisputeContact = _ref.isDisputeContact,
|
|
39
40
|
isDisputeContact = _ref$isDisputeContact === void 0 ? null : _ref$isDisputeContact,
|
|
40
41
|
_ref$isSalesContact = _ref.isSalesContact,
|
|
@@ -117,7 +118,9 @@ var UserContacts = function UserContacts(props) {
|
|
|
117
118
|
target: "_blank",
|
|
118
119
|
rel: "noreferrer",
|
|
119
120
|
className: (0, _classnames.default)('no-wrap', "".concat(RC, "__phone"), (0, _defineProperty2.default)({}, "".concat(RC, "__phone_icon-mode"), isUsePhonelIcon))
|
|
120
|
-
}, isUsePhonelIcon ? PIcon : phone),
|
|
121
|
+
}, isUsePhonelIcon ? PIcon : phone), !!contactType && /*#__PURE__*/_react.default.createElement("span", {
|
|
122
|
+
className: (0, _classnames.default)('no-wrap', "".concat(RC, "__contactType"))
|
|
123
|
+
}, contactType), isContact && /*#__PURE__*/_react.default.createElement("span", {
|
|
121
124
|
ref: contactsRef,
|
|
122
125
|
className: (0, _classnames.default)('no-wrap', "".concat(RC, "__contacts"))
|
|
123
126
|
}, isSalesContact ? "".concat(Lng('Sales')).concat(getComma()) : '', isDisputeContact ? "".concat(Lng('Dispute')).concat(getComma()) : '', isAccountingContact ? "".concat(Lng('Accounting ')) : '', "contact"));
|