Files
pgadmin4/docs/en_US
Dave Page 4fa95c58af Fix runtime menu refresh crash when menus not yet received (#9762) (#10070)
refreshMenus() rebuilt the application menu from the module-level
cachedMenus, which is only populated once the renderer sends its menu
definition via the 'setMenus' IPC. When a menu refresh was triggered
before that happened - e.g. an auto-update event, or the user closing
the window while the UI was still loading - cachedMenus was undefined
and bindMenuClicks() crashed with 'Cannot read properties of undefined
(reading map)', surfacing as an uncaught-exception dialog.

Guard refreshMenus() so it bails out when there are no cached menus to
rebuild.

Closes #9762
2026-06-12 15:38:19 +05:30
..
2016-06-07 09:04:58 +01:00
2019-03-08 15:29:05 +00:00
2024-07-02 10:34:30 +05:30
2026-01-05 13:33:45 +05:30
2026-01-05 13:33:45 +05:30
2019-03-08 15:29:05 +00:00
2019-03-08 15:29:05 +00:00
2019-12-05 06:35:57 -05:00
2020-08-18 11:15:24 +01:00
2021-02-22 16:47:16 +05:30
2022-03-14 15:26:54 +00:00
2022-05-09 12:39:29 +05:30
2022-12-14 15:56:05 +05:30
2023-01-16 19:34:33 +05:30
2023-05-03 15:21:01 +05:30
2023-05-29 11:03:39 +05:30
2023-08-16 15:32:17 +05:30
2023-10-17 15:19:40 +05:30
2024-04-09 08:37:41 +05:30
2024-11-07 22:02:18 +05:30
2025-04-23 15:41:43 +05:30
2025-07-23 17:56:15 +05:30
2023-03-28 22:20:14 +05:30
2019-03-08 15:29:05 +00:00