@senior-gestao-pessoas/hcm-contract-employee-history 5.6.2 → 5.6.3

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.
@@ -16044,6 +16044,7 @@ var DependentListDraftComponent = /** @class */ (function () {
16044
16044
  };
16045
16045
  DependentListDraftComponent.prototype.getActions = function (data) {
16046
16046
  var _this = this;
16047
+ console.log(this._employeeId);
16047
16048
  return [
16048
16049
  {
16049
16050
  id: "1",
@@ -16061,7 +16062,7 @@ var DependentListDraftComponent = /** @class */ (function () {
16061
16062
  },
16062
16063
  {
16063
16064
  id: "3",
16064
- visible: this.permissions.incluir,
16065
+ visible: !!this._employeeId,
16065
16066
  label: this.translate.instant("hcm_contract.employment_contract.dependent_draft_effect_data"),
16066
16067
  command: function () {
16067
16068
  _this.dependentDraftService.saveDraftEvent.next(data);