mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4604 Bring to the front feature fix by calling show method (#2174)
* SDA-4604 Bring to the front feature fix by calling show method * Upgrade electron@31.2.1
This commit is contained in:
parent
defcd1a90a
commit
6d6818548a
@ -178,7 +178,7 @@
|
||||
"builder-util-runtime": "^9.0.3",
|
||||
"cross-env": "7.0.3",
|
||||
"del": "3.0.0",
|
||||
"electron": "31.2.0",
|
||||
"electron": "31.2.1",
|
||||
"electron-builder": "^24.13.2",
|
||||
"electron-devtools-installer": "^3.2.0",
|
||||
"electron-icon-maker": "0.0.5",
|
||||
|
@ -340,7 +340,7 @@ describe('main api handler', () => {
|
||||
reason: 'notification',
|
||||
windowName: 'notification',
|
||||
};
|
||||
const expectedValue = ['notification', false];
|
||||
const expectedValue = ['notification'];
|
||||
ipcMain.send(apiName.symphonyApi, value);
|
||||
expect(spy).toBeCalledWith(...expectedValue);
|
||||
});
|
||||
|
@ -207,7 +207,7 @@ ipcMain.on(
|
||||
if (typeof arg.reason === 'string' && arg.reason === 'notification') {
|
||||
const { bringToFront } = config.getConfigFields(['bringToFront']);
|
||||
if (bringToFront === CloudConfigDataTypes.ENABLED) {
|
||||
activate(arg.windowName, false);
|
||||
activate(arg.windowName);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user