@forge/bridge
5.15.2-next.0-experimental-5b726e65.16.0-next.1
out/view/open.js~
out/view/open.jsModified+1
Index: package/out/view/open.js
===================================================================
--- package/out/view/open.js
+++ package/out/view/open.js
@@ -6,8 +6,9 @@
const callBridge = (0, bridge_1.getCallBridge)();
const open = async () => {
try {
const success = await callBridge('open');
+ // TODO: Modify @atlassian/forge-ui to throw if close fails instead of returning boolean DEVO-680
if (success === false) {
throw new errors_1.BridgeAPIError("this resource's view is not openable.");
}
}