Fix due/start date label render [SCI-6288] (#3690)

This commit is contained in:
artoscinote 2021-11-22 11:18:05 +01:00 committed by GitHub
parent 06577e2f8b
commit 5a7d285264
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -170,11 +170,11 @@ class MyModulesController < ApplicationController
status: :ok,
start_date_label: render_to_string(
partial: 'my_modules/start_date_label.html.erb',
locals: { my_module: @my_module, my_module_editable: true }
locals: { my_module: @my_module, start_date_editable: true }
),
due_date_label: render_to_string(
partial: 'my_modules/due_date_label.html.erb',
locals: { my_module: @my_module, my_module_editable: true }
locals: { my_module: @my_module, due_date_editable: true }
),
card_due_date_label: render_to_string(
partial: 'my_modules/card_due_date_label.html.erb',