diff --git a/docs/en_US/release_notes_8_10.rst b/docs/en_US/release_notes_8_10.rst index a68e42629..7fc331a23 100644 --- a/docs/en_US/release_notes_8_10.rst +++ b/docs/en_US/release_notes_8_10.rst @@ -21,6 +21,7 @@ New features ************ | `Issue #3981 `_ - Add support for Postgres Server Logs for Text, CSV and JSON format in plain and tabular formats. Upgrade React to version 18. + | `Issue #6572 `_ - Add a keyboard shortcut to close active tab panel. Housekeeping ************ @@ -41,6 +42,7 @@ Bug fixes | `Issue #6548 `_ - Ensure pgAdmin never makes network requests to Google etc. | `Issue #6571 `_ - Fixed an issue where pop-up notifications from Object Explorer wouldn't get dismissed automatically if the Query Tool was opened. | `Issue #7035 `_ - Fixed the permission denied issue for functions of the pgstattuple extension when accessing statistics with a non-admin user. + | `Issue #7219 `_ - Ensure processes related notifiers disappears. | `Issue #7511 `_ - Fixed an issue where users could not insert characters at the desired location, as it was added to the end of the line. | `Issue #7554 `_ - Fixed an issue where sorting the database activity table on the dashboard by any column caused the details to expand in the wrong position. | `Issue #7618 `_ - Fix an issue where the preferences JSON file has no effect when an external database is used. diff --git a/runtime/src/js/other_preload.js b/runtime/src/js/other_preload.js index 376fa0df2..1e6eb9970 100644 --- a/runtime/src/js/other_preload.js +++ b/runtime/src/js/other_preload.js @@ -13,7 +13,7 @@ contextBridge.exposeInMainWorld('electronUI', { getConfigData: (key) => ipcRenderer.invoke('getStoreData', key), setConfigData: (newValues) => ipcRenderer.invoke('setStoreData', newValues), showMessageBox: (options) => ipcRenderer.invoke('showMessageBox', options), - restartApp: ()=>ipcRenderer.send('restartApp'), + restartApp: ()=>{ ipcRenderer.send('restartApp'); }, getServerLogFile: ()=>ipcRenderer.invoke('getServerLogFile'), readServerLog: ()=>ipcRenderer.invoke('readServerLog'), checkPortAvailable: (port)=>ipcRenderer.invoke('checkPortAvailable', port), diff --git a/runtime/src/js/pgadmin.js b/runtime/src/js/pgadmin.js index 5f2daf578..a51922156 100644 --- a/runtime/src/js/pgadmin.js +++ b/runtime/src/js/pgadmin.js @@ -341,7 +341,7 @@ ipcMain.handle('setStoreData', (_e, newValues) => { }); ipcMain.handle('getServerLogFile', () => misc.getServerLogFile()); ipcMain.handle('readServerLog', () => misc.readServerLog()); -ipcMain.handle('restartApp', ()=>{ +ipcMain.on('restartApp', ()=>{ app.relaunch(); app.exit(0); });