@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.
@@ -10367,6 +10367,7 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
10367
10367
  this.parent.activeModule = 'navigationpane';
10368
10368
  var nodeData = this.getTreeData(getValue('id', args.nodeData));
10369
10369
  if (args.node.getAttribute('data-uid') !== this.parent.pathId[this.parent.pathId.length - 1] && !this.isRightClick && !this.isNodeClickCalled || this.isSameNodeClicked || this.isPathDragged) {
10370
+ this.isSameNodeClicked = false;
10370
10371
  this.isNodeClickCalled = false;
10371
10372
  if (!this.isSameNodeClicked) {
10372
10373
  this.isSameNodeClicked = true;
@@ -10388,7 +10389,6 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
10388
10389
  }
10389
10390
  }
10390
10391
  else if (this.previousSelected[0] !== args.node.getAttribute('data-uid')) {
10391
- this.isSameNodeClicked = true;
10392
10392
  var selecEventArgs = { action: args.action, fileDetails: nodeData[0], isInteracted: this.isNodeClickCalled };
10393
10393
  this.parent.trigger('fileSelect', selecEventArgs);
10394
10394
  }
@@ -10442,7 +10442,6 @@ var NavigationPane = /** @__PURE__ @class */ (function () {
10442
10442
  if (previousPath !== this.parent.path) {
10443
10443
  if (!this.isRightClick && this.isSameNodeClicked) {
10444
10444
  read(this.parent, this.isPathDragged ? pasteEnd : pathChanged, this.parent.path);
10445
- this.isNodeClickCalled = true;
10446
10445
  }
10447
10446
  this.parent.visitedItem = args.node;
10448
10447
  }
@@ -11797,6 +11796,9 @@ var DetailsView = /** @__PURE__ @class */ (function () {
11797
11796
  }
11798
11797
  };
11799
11798
  DetailsView.prototype.removePathColumn = function (isRefresh) {
11799
+ if (this.gridObj == null) {
11800
+ return;
11801
+ }
11800
11802
  var len = this.gridObj.columns.length;
11801
11803
  var columnData = JSON.parse(JSON.stringify(this.gridObj.columns));
11802
11804
  var filterPathInSettings = this.parent.detailsViewSettings.columns.some(function (col) { return col.field === 'filterPath'; });