45001-component-to-show-the-list-of-non-working-days-of-year
Dombi Attila 2 years ago
parent 9ab429fa2e
commit 4b5b5a3c13
  1. 2
      app/controllers/admin/settings/working_days_settings_controller.rb

@ -43,6 +43,8 @@ module Admin::Settings
end
def modified_non_working_days_for(result)
return if result.nil?
result.map do |record|
json_attributes = record.as_json
json_attributes["_destroy"] = true if record.marked_for_destruction?

Loading…
Cancel
Save