@pxp-nd/flow 1.0.78 → 1.0.79
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.
- package/dist/controllers/Node.js +5 -1
- package/package.json +1 -1
package/dist/controllers/Node.js
CHANGED
|
@@ -187,6 +187,7 @@ let Node = class Node extends core_1.Controller {
|
|
|
187
187
|
};
|
|
188
188
|
// @ts-ignore
|
|
189
189
|
const resControllerAxios = await (0, core_1.__)((0, axios_1.default)(config));
|
|
190
|
+
console.log('resControllerAxios', resControllerAxios);
|
|
190
191
|
const desc = resControllerAxios.data.data[descDD];
|
|
191
192
|
return desc;
|
|
192
193
|
}
|
|
@@ -212,7 +213,10 @@ let Node = class Node extends core_1.Controller {
|
|
|
212
213
|
};
|
|
213
214
|
for (const [nameKey, value] of Object.entries(mergeValues)) {
|
|
214
215
|
if (schemaJsonObject[nameKey]) {
|
|
215
|
-
|
|
216
|
+
let descValue;
|
|
217
|
+
if (value) {
|
|
218
|
+
descValue = await (0, core_1.__)(findFieldInConfigForComponent(schemaJsonObject[nameKey], value));
|
|
219
|
+
}
|
|
216
220
|
schemaJsonObject[nameKey] = {
|
|
217
221
|
...schemaJsonObject[nameKey],
|
|
218
222
|
initialValue: value,
|