mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Added a fix to the context menu and panel issue introduced by the SonarQube fixes.
This commit is contained in:
parent
b73aa6d000
commit
ec47a2aa66
@ -49,7 +49,7 @@ define([
|
||||
$(myPanel).data('pgAdminName', that.name);
|
||||
myPanel.initSize(that.width, that.height);
|
||||
|
||||
if (!myPanel.showTitle)
|
||||
if (!(myPanel.showTitle??true))
|
||||
myPanel.title(false);
|
||||
|
||||
myPanel.icon(that.icon);
|
||||
|
@ -64,7 +64,7 @@ define('pgadmin.browser.node', [
|
||||
child.callbacks = _.extend({}, parent.callbacks, props.callbacks);
|
||||
|
||||
// Let's not bind the callbacks, or initialize the child.
|
||||
if (!initialize)
|
||||
if (!(initialize??true))
|
||||
return child;
|
||||
|
||||
var bindToChild = function(cb) {
|
||||
|
Loading…
Reference in New Issue
Block a user