mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-04 12:36:44 -05:00
Port browser tree to React. Fixes #6129
This commit is contained in:
1 parent
d983225683
commit
483e2ca8d0
99 files changed
+2339
-1785
No files matched your search
@@ -199,7 +199,7 @@ define('misc.statistics', [
|
||||
*/
|
||||
|
||||
// Avoid unnecessary reloads
|
||||
var treeHierarchy = node.getTreeNodeHierarchy(item);
|
||||
var treeHierarchy = pgBrowser.tree.getTreeNodeHierarchy(item);
|
||||
var cache_flag = {
|
||||
node_type: node_type,
|
||||
url: url,
|
||||
@@ -210,7 +210,7 @@ define('misc.statistics', [
|
||||
// Cache the current IDs for next time
|
||||
$(panel[0]).data('node-prop', cache_flag);
|
||||
|
||||
if (statisticsHelper.nodeHasStatistics(node, item)) {
|
||||
if (statisticsHelper.nodeHasStatistics(pgBrowser, node, item)) {
|
||||
msg = '';
|
||||
var timer;
|
||||
// Set the url, fetch the data and update the collection
|
||||
|
||||
Reference in new issue
Block a user