@syncfusion/ej2-filemanager 30.1.38 → 30.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10163,6 +10163,7 @@ class NavigationPane {
10163
10163
  this.parent.activeModule = 'navigationpane';
10164
10164
  const nodeData = this.getTreeData(getValue('id', args.nodeData));
10165
10165
  if (args.node.getAttribute('data-uid') !== this.parent.pathId[this.parent.pathId.length - 1] && !this.isRightClick && !this.isNodeClickCalled || this.isSameNodeClicked || this.isPathDragged) {
10166
+ this.isSameNodeClicked = false;
10166
10167
  this.isNodeClickCalled = false;
10167
10168
  if (!this.isSameNodeClicked) {
10168
10169
  this.isSameNodeClicked = true;
@@ -10184,7 +10185,6 @@ class NavigationPane {
10184
10185
  }
10185
10186
  }
10186
10187
  else if (this.previousSelected[0] !== args.node.getAttribute('data-uid')) {
10187
- this.isSameNodeClicked = true;
10188
10188
  const selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: this.isNodeClickCalled };
10189
10189
  this.parent.trigger('fileSelect', selecEventArgs);
10190
10190
  }
@@ -10238,7 +10238,6 @@ class NavigationPane {
10238
10238
  if (previousPath !== this.parent.path) {
10239
10239
  if (!this.isRightClick && this.isSameNodeClicked) {
10240
10240
  read(this.parent, this.isPathDragged ? pasteEnd : pathChanged, this.parent.path);
10241
- this.isNodeClickCalled = true;
10242
10241
  }
10243
10242
  this.parent.visitedItem = args.node;
10244
10243
  }
@@ -11583,6 +11582,9 @@ class DetailsView {
11583
11582
  }
11584
11583
  }
11585
11584
  removePathColumn(isRefresh) {
11585
+ if (this.gridObj == null) {
11586
+ return;
11587
+ }
11586
11588
  const len = this.gridObj.columns.length;
11587
11589
  const columnData = JSON.parse(JSON.stringify(this.gridObj.columns));
11588
11590
  const filterPathInSettings = this.parent.detailsViewSettings.columns.some((col) => col.field === 'filterPath');