@startinblox/core 0.19.0-beta.21 → 0.19.0-beta.22
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12097,7 +12097,7 @@ const StoreMixin = {
|
|
|
12097
12097
|
this.resourceId = value;
|
|
12098
12098
|
if (this.nestedField) {
|
|
12099
12099
|
const resource = await store.getData(value, this.context, void 0, void 0, true);
|
|
12100
|
-
const nestedResource = resource ? await resource[
|
|
12100
|
+
const nestedResource = resource ? await resource[this.nestedField] : null;
|
|
12101
12101
|
this.resourceId = nestedResource ? await nestedResource["@id"] : null;
|
|
12102
12102
|
if (resource && !this.resourceId && !nestedResource) {
|
|
12103
12103
|
console.trace();
|