@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.
@@ -16224,6 +16224,7 @@
16224
16224
  };
16225
16225
  DependentListDraftComponent.prototype.getActions = function (data) {
16226
16226
  var _this = this;
16227
+ console.log(this._employeeId);
16227
16228
  return [
16228
16229
  {
16229
16230
  id: "1",
@@ -16241,7 +16242,7 @@
16241
16242
  },
16242
16243
  {
16243
16244
  id: "3",
16244
- visible: this.permissions.incluir,
16245
+ visible: !!this._employeeId,
16245
16246
  label: this.translate.instant("hcm_contract.employment_contract.dependent_draft_effect_data"),
16246
16247
  command: function () {
16247
16248
  _this.dependentDraftService.saveDraftEvent.next(data);