mirror of
https://github.com/finos/SymphonyElectron.git
synced 2026-07-29 23:57:56 -05:00
SDA-3039: force opening external app for symphony and mailto (#1207)
This commit is contained in:
@@ -524,6 +524,12 @@ export const handlePermissionRequests = (
|
||||
callback,
|
||||
);
|
||||
case Permissions.OPEN_EXTERNAL:
|
||||
if (
|
||||
details?.externalURL?.startsWith('symphony:') ||
|
||||
details?.externalURL?.startsWith('mailto:')
|
||||
) {
|
||||
return callback(true);
|
||||
}
|
||||
return handleSessionPermissions(
|
||||
permissions.openExternal,
|
||||
i18n.t(
|
||||
|
||||
Reference in New Issue
Block a user