@esfaenza/admin-module 15.2.29 → 15.2.30

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
@@ -1384,6 +1382,8 @@ class AdmDynamicViewsComponent {
1384
1382
  this.currentName = this.searchView.filtername;
1385
1383
  this.searchView = null;
1386
1384
  }
1385
+ this.searchView = new DynamicViewsView();
1386
+ this.searchView.filtername = this.currentName;
1387
1387
  this.searchView = await this.adms.getDynamicViewData(this.searchView);
1388
1388
  this.searchView.searchinprogress = false;
1389
1389
  this.localStorage.setItem("HotDinamitato", this.searchView).subscribe();