theprogrammablemind_4wp 8.0.0-beta.77 → 8.0.0-beta.79
Sign up to get free protection for your applications and to get access to all the features.
- package/client.js +1 -0
- package/package.json +1 -1
- package/src/configHelpers.js +2 -2
package/client.js
CHANGED
package/package.json
CHANGED
package/src/configHelpers.js
CHANGED
@@ -313,7 +313,7 @@ const processContextsB = async ({ config, hierarchy, semantics, generators, json
|
|
313
313
|
marker: 'error',
|
314
314
|
context,
|
315
315
|
text: e ? e.toString() : 'not available',
|
316
|
-
reason: e.reason,
|
316
|
+
reason: e.error ? e.error[0] : e.reason,
|
317
317
|
error: e.stack || e.error
|
318
318
|
})
|
319
319
|
if (rebuildingTemplate) {
|
@@ -408,7 +408,7 @@ const loadInstance = async (config, instance) => {
|
|
408
408
|
// used to do a CLONE
|
409
409
|
config.addInternal(instance.template.configs[i], { uuid, addFirst: true, handleCalculatedProps: true })
|
410
410
|
} else if (results.apply) {
|
411
|
-
const objects = config.get('objects')
|
411
|
+
const objects = getObjects(config.get('objects'))(config.uuid)
|
412
412
|
const args = { objects, getObjects: getObjects(objects) }
|
413
413
|
if (instance.configs) {
|
414
414
|
args.isInstance = `instance${i}`
|