@aclymatepackages/modules 2.1.10 → 2.1.11
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.
|
@@ -90,10 +90,11 @@ const PdlCompanySelect = _ref2 => {
|
|
|
90
90
|
name: selectedCompanyName
|
|
91
91
|
} = matchingCompanies.find(_ref4 => {
|
|
92
92
|
let {
|
|
93
|
-
|
|
93
|
+
meta
|
|
94
94
|
} = _ref4;
|
|
95
|
-
return selectedCompanyId === id;
|
|
95
|
+
return selectedCompanyId === meta.id;
|
|
96
96
|
}) || {};
|
|
97
|
+
console.log("selected company name: ", selectedCompanyName);
|
|
97
98
|
return /*#__PURE__*/_react.default.createElement(_material.Grid, {
|
|
98
99
|
container: true,
|
|
99
100
|
spacing: 2,
|
package/package.json
CHANGED
|
@@ -73,7 +73,8 @@ const PdlCompanySelect = ({ onSelectCompany, apiKey }) => {
|
|
|
73
73
|
};
|
|
74
74
|
|
|
75
75
|
const { name: selectedCompanyName } =
|
|
76
|
-
matchingCompanies.find(({
|
|
76
|
+
matchingCompanies.find(({ meta }) => selectedCompanyId === meta.id) || {};
|
|
77
|
+
console.log("selected company name: ", selectedCompanyName);
|
|
77
78
|
|
|
78
79
|
return (
|
|
79
80
|
<Grid container spacing={2} direction="column">
|