Fix non working days attributes _deleted to _destroy

45001-component-to-show-the-list-of-non-working-days-of-year
Dombi Attila 2 years ago
parent 5aa8d0c2a1
commit 4f5f8ca03b
  1. 2
      frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.ts

@ -233,7 +233,7 @@ export class OpNonWorkingDaysListComponent implements OnInit {
element
.parent()
.append(`<input type="hidden" name="settings[non_working_days_attributes]['${event.id}'][_deleted]" value="true"/>`);
.append(`<input type="hidden" name="settings[non_working_days_attributes]['${event.id}'][_destroy]" value="true"/>`);
}
}

Loading…
Cancel
Save