Pass ruby variable to the op-non-working-days-list component

45001-component-to-show-the-list-of-non-working-days-of-year
Dombi Attila 2 years ago
parent 4f5f8ca03b
commit d0b104e501
  1. 6
      app/views/admin/settings/working_days_settings/show.html.erb

@ -55,7 +55,9 @@ See COPYRIGHT and LICENSE files for more details.
label: false %>
</div>
</section>
<%= angular_component_tag 'op-non-working-days-list'
%>
<%= angular_component_tag 'op-non-working-days-list',
inputs: { modified_non_working_days: @modified_non_working_days } %>
<%= styled_button_tag t(:button_save), class: '-highlight -with-icon icon-checkmark' %>
<% end %>

Loading…
Cancel
Save