mirror of
https://github.com/finos/SymphonyElectron.git
synced 2026-10-25 22:20:06 -05:00
feat: SDA-2652 - add new API to set if running in mana client (#1113)
This commit is contained in:
1 parent
18e4b79f8e
commit
33ed6f709c
7 files changed
+36
-10
No files matched your search
@@ -201,7 +201,15 @@ ipcMain.on(apiName.symphonyApi, async (event: Electron.IpcMainEvent, arg: IApiAr
|
||||
if (windowHandler.appMenu) {
|
||||
windowHandler.appMenu.buildMenu();
|
||||
}
|
||||
break;
|
||||
case apiCmds.setIsMana:
|
||||
if (typeof arg.isMana === 'boolean') {
|
||||
windowHandler.isMana = arg.isMana;
|
||||
logger.info('window-handler: isMana: ' + windowHandler.isMana);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
});
|
||||
Reference in new issue
Block a user