@openfin/core 39.83.19 → 39.83.21
Sign up to get free protection for your applications and to get access to all the features.
- 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
|
}
|