mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Requests for statistics were not stopped even when Dashboard panel is
closed. It is a regression of webpack.
This commit is contained in:
parent
6d5417709c
commit
bdefdf5d4e
@ -196,7 +196,6 @@ define(
|
||||
},
|
||||
add_panels: function() {
|
||||
/* Add hooked-in panels by extensions */
|
||||
//debugger;
|
||||
var panels = JSON.parse(pgBrowser.panels_items);
|
||||
_.each(panels, function(panel) {
|
||||
if (panel.isIframe) {
|
||||
@ -222,7 +221,8 @@ define(
|
||||
isCloseable: panel.isCloseable,
|
||||
isPrivate: panel.isPrivate,
|
||||
content: (panel.content) ? panel.content : '',
|
||||
events: (panel.events) ? panel.events : ''
|
||||
events: (panel.events) ? panel.events : '',
|
||||
canHide: (panel.canHide) ? panel.canHide : ''
|
||||
})
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user