Port browser tree to React. Fixes #6129

This commit is contained in:
Khushboo Vashi authored and Akshay Joshi committed 2021-09-27 16:44:26 +05:30
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