@trudb/tru-common-lib 0.0.293 → 0.0.295

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.
@@ -7,7 +7,7 @@ import * as i2 from '@angular/forms';
7
7
  import { FormsModule } from '@angular/forms';
8
8
  import { Subject, BehaviorSubject, defer, from, of, skip, forkJoin } from 'rxjs';
9
9
  import * as _ from 'underscore';
10
- import * as moment from 'moment';
10
+ import moment from 'moment/moment';
11
11
  import * as i1 from '@angular/material/dialog';
12
12
  import { MAT_DIALOG_DATA } from '@angular/material/dialog';
13
13
  import * as i1$2 from '@angular/common/http';
@@ -198,7 +198,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.1", ngImpor
198
198
  class TruContextFilters {
199
199
  constructor() {
200
200
  this.filters = [];
201
- this.selectedContextFilterChoices = [];
202
201
  this.valueFor = (tableName) => {
203
202
  let choice = this.filters.find(f => f.selectedChoice.table === tableName)?.selectedChoice;
204
203
  if (!choice)
@@ -207,9 +206,9 @@ class TruContextFilters {
207
206
  };
208
207
  this.label = () => {
209
208
  let label = '';
210
- this.selectedContextFilterChoices.forEach((filter) => {
211
- label += filter.table + ': ' + filter.label + ' ';
212
- });
209
+ //this.selectedContextFilterChoices.forEach((filter: TruContextFilterChoice) => {
210
+ // label += filter.table + ': ' + filter.label + ' ';
211
+ //});
213
212
  return label;
214
213
  };
215
214
  }