@senior-agronegocio/angular-components 0.0.9882 → 0.0.9883

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.
@@ -6403,6 +6403,7 @@ var EventControlBoardComponent = /** @class */ (function () {
6403
6403
  return lastActive;
6404
6404
  };
6405
6405
  EventControlBoardComponent.prototype.createStep = function (detail, item, detailIndex) {
6406
+ console.log('Detail:', detail);
6406
6407
  return {
6407
6408
  item: detail,
6408
6409
  controlCode: item.controlCode,
@@ -6429,20 +6430,12 @@ var EventControlBoardComponent = /** @class */ (function () {
6429
6430
  if (eventLabel) {
6430
6431
  return this.translate.instant(eventLabel);
6431
6432
  }
6432
- var localLabel = this.getEventOperationSubLocalLabel(detail);
6433
+ var localLabel = this.translate.instant("agro.angular_components." + detail.eventOperation);
6433
6434
  if (localLabel) {
6434
6435
  return localLabel;
6435
6436
  }
6436
6437
  return detail.eventOperation;
6437
6438
  };
6438
- EventControlBoardComponent.prototype.getEventOperationSubLocalLabel = function (detail) {
6439
- var translationKey = "agro.angular_components." + detail.eventOperation;
6440
- var translation = this.translate.instant(translationKey);
6441
- if (translation !== translationKey) {
6442
- return translation;
6443
- }
6444
- return null;
6445
- };
6446
6439
  EventControlBoardComponent.prototype.formatSubtitle = function (detail) {
6447
6440
  var _a;
6448
6441
  var eventOperation = detail.eventOperation, subTitle = detail.subTitle;