@eqproject/eqp-dynamic-module 2.10.2 → 2.10.4

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.
@@ -5792,6 +5792,7 @@ class ActionButtonFieldTemplateComponent {
5792
5792
  this.fireTrigger = new EventEmitter();
5793
5793
  }
5794
5794
  ngOnInit() {
5795
+ this.updateField();
5795
5796
  this.initStyles();
5796
5797
  }
5797
5798
  initStyles() {
@@ -5806,6 +5807,8 @@ class ActionButtonFieldTemplateComponent {
5806
5807
  if (this.field.VisibleIf) {
5807
5808
  this.field.InListView = UtilityHelperService.EvaluateFieldFormula(this.field.VisibleIf, this.record, this.formulaObject);
5808
5809
  }
5810
+ this.field.InListView = this.field.InListView ? true : false;
5811
+ GlobalService.debugLog("btn InListView - " + this.field.InListView);
5809
5812
  }
5810
5813
  generateAction(actionButton) {
5811
5814
  var fireTrigger = new FireTrigger();