@esfaenza/admin-module 19.2.5 → 19.2.7

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.
@@ -25,10 +25,9 @@ import { ContextMenuModule } from '@esfaenza/ngx-contextmenu';
25
25
  import * as i3 from '@esfaenza/preferences';
26
26
  import { HttpParams } from '@angular/common/http';
27
27
  import { HTTPService } from '@esfaenza/httpservice';
28
- import { firstValueFrom, catchError, of, ReplaySubject, interval } from 'rxjs';
28
+ import { firstValueFrom, catchError, of, ReplaySubject } from 'rxjs';
29
29
  import { GenericItem } from '@esfaenza/core/domain';
30
30
  import { __decorate } from 'tslib';
31
- import { takeUntil } from 'rxjs/operators';
32
31
 
33
32
  class AuditsView extends AppSearch {
34
33
  constructor() {
@@ -475,12 +474,12 @@ class AdmWrkComponent {
475
474
  }
476
475
  }
477
476
  async toggleTracing(process, tracing) {
478
- let res = await this.adms.doSetProcessTracing(this.be, process.properties["inst_id"] || process.properties["INST_ID"], process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"], tracing.toString());
477
+ let res = await this.adms.doSetProcessTracing(this.be, (process.properties["inst_id"] || process.properties["INST_ID"] || ""), process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"], tracing.toString());
479
478
  this.msgExts.manageStringResponse(res, "", this.lc.loc("Errori nella modifica del Tracing del Processo"), () => this.sendSearch());
480
479
  }
481
480
  killProcess(process) {
482
481
  this.msgExts.simpleWarningWithChoice(this.lc.loc("Conferma Terminazione del Processo"), this.lc.loc("Sei sicuro di voler Terminare il processo selezionato? L'utente relativo sara' disconnesso"), async () => {
483
- let res = await this.adms.doKillProcess(this.be, process.properties["inst_id"] || process.properties["INST_ID"], process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"]);
482
+ let res = await this.adms.doKillProcess(this.be, (process.properties["inst_id"] || process.properties["INST_ID"] || ""), process.properties["sid"] || process.properties["SID"], process.properties["serial"] || process.properties["SERIAL"]);
484
483
  this.msgExts.manageStringResponse(res, this.lc.loc("Processo ucciso con successo"), this.lc.loc("Errori durante la Kill del Processo"), () => this.sendSearch());
485
484
  });
486
485
  }
@@ -862,9 +861,9 @@ class AdmTopActivitiesComponent {
862
861
  }
863
862
  ngOnInit() {
864
863
  // Ogni minuto calcolo qual è la finestra del realTime
865
- interval(60 * 1000).pipe(takeUntil(this.destroyed$)).subscribe(_ => {
866
- this.updateRealTimeWindow();
867
- });
864
+ // interval(60 * 1000).pipe(takeUntil(this.destroyed$)).subscribe(_ => {
865
+ // this.updateRealTimeWindow();
866
+ // });
868
867
  this.storageSub = this.route.queryParams.subscribe(params => {
869
868
  this.Init(params["ignoreStorage"]);
870
869
  });