@openfin/core 39.83.19 → 39.83.21
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/out/mock.js +4 -0
- package/package.json +1 -1
package/out/mock.js
CHANGED
|
@@ -12442,6 +12442,10 @@ class LayoutModule extends base_1$4.Base {
|
|
|
12442
12442
|
if (!allowedErrors.some((m) => e.message.includes(m))) {
|
|
12443
12443
|
throw e;
|
|
12444
12444
|
}
|
|
12445
|
+
// If a view is attached to provider window, return null
|
|
12446
|
+
if (layoutWindowIdentity.uuid === layoutWindowIdentity.name) {
|
|
12447
|
+
throw new Error(`View identity ${JSON.stringify(viewIdentity)} is not attached to any layout in provider window ${JSON.stringify(layoutWindowIdentity)}.`);
|
|
12448
|
+
}
|
|
12445
12449
|
// fallback logic for missing endpoint in older runtimes
|
|
12446
12450
|
return this.wrapSync(layoutWindowIdentity);
|
|
12447
12451
|
}
|