@esfaenza/admin-module 15.2.29 → 15.2.31

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.
@@ -1373,8 +1373,6 @@ class AdmDynamicViewsComponent {
1373
1373
  if (!this.searchView.filtername) {
1374
1374
  this.badSearch = true;
1375
1375
  AppSearch.reset(this.searchView);
1376
- //Aggiorno il riferimento per refreshare la es-table
1377
- this.searchView = JSON.parse(JSON.stringify(this.searchView));
1378
1376
  return;
1379
1377
  }
1380
1378
  else
@@ -1382,7 +1380,8 @@ class AdmDynamicViewsComponent {
1382
1380
  // Per force-resettare l'estable
1383
1381
  if (this.currentName != this.searchView.filtername) {
1384
1382
  this.currentName = this.searchView.filtername;
1385
- this.searchView = null;
1383
+ this.searchView = new DynamicViewsView();
1384
+ this.searchView.filtername = this.currentName;
1386
1385
  }
1387
1386
  this.searchView = await this.adms.getDynamicViewData(this.searchView);
1388
1387
  this.searchView.searchinprogress = false;