@tap-payments/auth-jsconnect 2.3.90-test → 2.3.91-test
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,11 +161,15 @@ var ActivityList = function (_a) {
|
|
|
161
161
|
return (controlValue === null || controlValue === void 0 ? void 0 : controlValue.length) + ' ' + t('activities_selected');
|
|
162
162
|
}
|
|
163
163
|
var item = (controlValue || [])[0];
|
|
164
|
-
|
|
164
|
+
var code = item === null || item === void 0 ? void 0 : item.isic_code;
|
|
165
|
+
var name = isAr ? ((_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.ar) || ((_b = item === null || item === void 0 ? void 0 : item.name) === null || _b === void 0 ? void 0 : _b.en) : (_c = item === null || item === void 0 ? void 0 : item.name) === null || _c === void 0 ? void 0 : _c.en;
|
|
166
|
+
return code ? "".concat(code, " - ").concat(name) : name;
|
|
165
167
|
};
|
|
166
168
|
var getSelectedActivityName = function (item) {
|
|
167
169
|
var _a, _b, _c;
|
|
168
|
-
|
|
170
|
+
var code = item === null || item === void 0 ? void 0 : item.isic_code;
|
|
171
|
+
var name = isAr ? ((_a = item === null || item === void 0 ? void 0 : item.name) === null || _a === void 0 ? void 0 : _a.ar) || ((_b = item === null || item === void 0 ? void 0 : item.name) === null || _b === void 0 ? void 0 : _b.en) : (_c = item === null || item === void 0 ? void 0 : item.name) === null || _c === void 0 ? void 0 : _c.en;
|
|
172
|
+
return code ? "".concat(code, " - ").concat(name) : name;
|
|
169
173
|
};
|
|
170
174
|
var getSelectedActivitySectionFlag = function (section) {
|
|
171
175
|
var findSection = controlValue === null || controlValue === void 0 ? void 0 : controlValue.find(function (_a) {
|