ngx-sp-infra 5.0.7 → 5.0.9

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.
@@ -10167,7 +10167,7 @@ class HomeLogApiComponent {
10167
10167
  // Função chamada quando ocorre uma mudança na ordenação
10168
10168
  this.currentSortColumn = '';
10169
10169
  this.sortDirection = {};
10170
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10170
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10171
10171
  console.log(this.module == 'ConfigErp');
10172
10172
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
10173
10173
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
@@ -10351,7 +10351,7 @@ class DetalhesLogApiComponent {
10351
10351
  this._router = _router;
10352
10352
  this._logID = 0;
10353
10353
  this.logData = new Logs$6();
10354
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10354
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10355
10355
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
10356
10356
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
10357
10357
  this._router.navigate(["/home"]);
@@ -10470,7 +10470,7 @@ class HomeLogDataAccessComponent {
10470
10470
  // Função chamada quando ocorre uma mudança na ordenação
10471
10471
  this.currentSortColumn = '';
10472
10472
  this.sortDirection = {};
10473
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10473
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10474
10474
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
10475
10475
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
10476
10476
  this._router.navigate(["/home"]);
@@ -10647,7 +10647,7 @@ class DetalhesLogDataAccessComponent {
10647
10647
  this._messageService = _messageService;
10648
10648
  this._logID = 0;
10649
10649
  this.logData = new Logs$5();
10650
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10650
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10651
10651
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
10652
10652
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
10653
10653
  this._router.navigate(["/home"]);
@@ -10768,7 +10768,7 @@ class HomeLogEmailComponent {
10768
10768
  // Função chamada quando ocorre uma mudança na ordenação
10769
10769
  this.currentSortColumn = '';
10770
10770
  this.sortDirection = {};
10771
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10771
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10772
10772
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
10773
10773
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
10774
10774
  this._router.navigate(["/home"]);
@@ -10950,7 +10950,7 @@ class DetalhesLogEmailComponent {
10950
10950
  this._route = _route;
10951
10951
  this._logID = 0;
10952
10952
  this.logData = new Logs$4();
10953
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10953
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
10954
10954
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
10955
10955
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
10956
10956
  this._router.navigate(["/home"]);
@@ -11065,7 +11065,7 @@ class LogsGeralComponent {
11065
11065
  // Função chamada quando ocorre uma mudança na ordenação
11066
11066
  this.currentSortColumn = '';
11067
11067
  this.sortDirection = {};
11068
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11068
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11069
11069
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
11070
11070
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
11071
11071
  this._router.navigate(["/home"]);
@@ -11230,7 +11230,7 @@ class DetalhesLogsGeralComponent {
11230
11230
  this._route = _route;
11231
11231
  this._logID = 0;
11232
11232
  this.logData = new Logs$3();
11233
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11233
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11234
11234
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
11235
11235
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
11236
11236
  this._router.navigate(["/home"]);
@@ -11347,7 +11347,7 @@ class HomeLogsReportComponent {
11347
11347
  // Função chamada quando ocorre uma mudança na ordenação
11348
11348
  this.currentSortColumn = '';
11349
11349
  this.sortDirection = {};
11350
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11350
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11351
11351
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
11352
11352
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
11353
11353
  this._router.navigate(["/home"]);
@@ -11526,7 +11526,7 @@ class DetalhesLogsReportComponent {
11526
11526
  this._route = _route;
11527
11527
  this._logID = 0;
11528
11528
  this.logData = new Logs$2();
11529
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11529
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11530
11530
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
11531
11531
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
11532
11532
  this._router.navigate(["/home"]);
@@ -11650,7 +11650,7 @@ class HomeLogTimerComponent {
11650
11650
  // Função chamada quando ocorre uma mudança na ordenação
11651
11651
  this.currentSortColumn = '';
11652
11652
  this.sortDirection = {};
11653
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11653
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11654
11654
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
11655
11655
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
11656
11656
  this._router.navigate(["/home"]);
@@ -11832,7 +11832,7 @@ class DetalhesLogTimerComponent {
11832
11832
  this._route = _route;
11833
11833
  this._logID = 0;
11834
11834
  this.logData = new Logs$1();
11835
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11835
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11836
11836
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
11837
11837
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
11838
11838
  this._router.navigate(["/home"]);
@@ -11955,7 +11955,7 @@ class HomeLogsWSComponent {
11955
11955
  // Função chamada quando ocorre uma mudança na ordenação
11956
11956
  this.currentSortColumn = '';
11957
11957
  this.sortDirection = {};
11958
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11958
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
11959
11959
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
11960
11960
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
11961
11961
  this._router.navigate(["/home"]);
@@ -12135,7 +12135,7 @@ class DetalhesLogWSComponent {
12135
12135
  this._route = _route;
12136
12136
  this._logID = 0;
12137
12137
  this.logData = new Logs();
12138
- this.module = window.location.hostname.includes('Corporativo') ? "Corporativo" : "ConfigErp";
12138
+ this.module = window.location.href.includes('Corporativo') ? "Corporativo" : "ConfigErp";
12139
12139
  if (this.module == 'ConfigErp' && (!this._tenantService.tenantId || this._tenantService.tenantId == 0)) {
12140
12140
  this._messageService.showAlertInfo("Você deve selecionar um domínio para executar esta opção.");
12141
12141
  this._router.navigate(["/home"]);