@undp/carbon-library 1.0.136-support-section-changes.2 → 1.0.136-support-section-changes.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +6 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +6 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -14097,13 +14097,15 @@ var InvestmentCreationComponent = function (props) {
|
|
14097
14097
|
setData(state === null || state === void 0 ? void 0 : state.record);
|
14098
14098
|
}
|
14099
14099
|
else {
|
14100
|
-
setData({});
|
14100
|
+
setData({ ownership: true });
|
14101
14101
|
}
|
14102
14102
|
}, []);
|
14103
14103
|
React.useEffect(function () {
|
14104
|
-
|
14105
|
-
|
14106
|
-
|
14104
|
+
if (data) {
|
14105
|
+
var keys = Object.keys(data);
|
14106
|
+
if (keys[0] !== "ownership") {
|
14107
|
+
getOrganisationsDetails();
|
14108
|
+
}
|
14107
14109
|
}
|
14108
14110
|
}, [data]);
|
14109
14111
|
if (!data) {
|