mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-12-22 15:13:42 -06:00
Fixed all broken submenus of the Help menu due to the SonarQube fix.
This commit is contained in:
parent
af1f4b3aa7
commit
c92e9c2953
@ -2,7 +2,7 @@
|
||||
Version 8.3
|
||||
***********
|
||||
|
||||
Release date: 2024-02-08
|
||||
Release date: 2024-02-09
|
||||
|
||||
This release contains a number of bug fixes and new features since the release of pgAdmin 4 v8.2.
|
||||
|
||||
|
@ -86,7 +86,7 @@ export default class MainMenuFactory {
|
||||
// Some callbacks registered in 'callbacks' check and call specifiec callback function
|
||||
if (options.module && 'callbacks' in options.module && options.module.callbacks[options.callback]) {
|
||||
options.module.callbacks[options.callback].apply(options.module, [options.data, pgAdmin.Browser.tree?.selected()]);
|
||||
} else if (options?.module[options.callback]) {
|
||||
} else if (options?.module?.[options.callback]) {
|
||||
options.module[options.callback].apply(options.module, [options.data, pgAdmin.Browser.tree?.selected()]);
|
||||
} else if (options?.callback) {
|
||||
options.callback(options);
|
||||
|
Loading…
Reference in New Issue
Block a user