brainloper-ui 18.0.0 → 18.0.1

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.
@@ -696,8 +696,8 @@ class CombosComponent {
696
696
  //console.log(this.configuration)
697
697
  }
698
698
  ngOnChanges(changes) {
699
- if (this.dataCombos && changes?.dataCombos) {
700
- this.dataCombos = changes.dataCombos.currentValue;
699
+ if (this.dataCombos && changes?.['dataCombos']) {
700
+ this.dataCombos = changes['dataCombos'].currentValue;
701
701
  this.filteredList = this.dataCombos.slice();
702
702
  }
703
703
  if (this.control && this.control.value) {
@@ -1944,7 +1944,7 @@ class FiltersComponent {
1944
1944
  value = this.functionEter.dateDB($event.value);
1945
1945
  break;
1946
1946
  case 'dateRange':
1947
- value = `${this.functionEter.dateDB(this.campaignOne.controls.start.value)},${this.functionEter.dateDB(this.campaignOne.controls.end.value)}`;
1947
+ value = `${this.functionEter.dateDB(this.campaignOne.controls['start'].value)},${this.functionEter.dateDB(this.campaignOne.controls['end'].value)}`;
1948
1948
  break;
1949
1949
  default:
1950
1950
  break;
@@ -2589,7 +2589,7 @@ class DataTableComponent {
2589
2589
  }
2590
2590
  }
2591
2591
  ngOnChanges(changes) {
2592
- if (changes.data) {
2592
+ if (changes['data']) {
2593
2593
  if (this.data) {
2594
2594
  this.data.forEach((row) => {
2595
2595
  this.checkboxs[row[this.configuration.primaryKey]] = false;
@@ -3193,7 +3193,7 @@ class ButtonLabelComponent {
3193
3193
  }
3194
3194
  ngOnChanges(changes) {
3195
3195
  if (changes) {
3196
- if (changes.labelsEdit && !this.initEventClink && this.labelsEdit.length > 0 && this.labelsEdit.find(x => x.edit == true)) {
3196
+ if (changes['labelsEdit'] && !this.initEventClink && this.labelsEdit.length > 0 && this.labelsEdit.find(x => x.edit == true)) {
3197
3197
  document.addEventListener('click', ($event) => this.onPageClick($event));
3198
3198
  this.initEventClink = true;
3199
3199
  }