@syncfusion/ej2-filemanager 22.2.5 → 22.2.10

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.
@@ -10283,7 +10283,7 @@ var DetailsView = /** @__PURE__ @class */ (function () {
10283
10283
  var columnData = JSON.parse(JSON.stringify(this.gridObj.columns));
10284
10284
  if (columnData[len - 1].field && (columnData[len - 1].field === 'filterPath')) {
10285
10285
  /* istanbul ignore next */
10286
- if (this.gridObj.sortSettings.columns[0].field === 'filterPath') {
10286
+ if (!isNullOrUndefined(this.gridObj.sortSettings.columns[0]) && this.gridObj.sortSettings.columns[0].field === 'filterPath') {
10287
10287
  if (this.parent.sortOrder !== 'None') {
10288
10288
  this.gridObj.sortColumn('name', this.parent.sortOrder);
10289
10289
  }