diff --git a/app/controllers/step_elements/checklist_items_controller.rb b/app/controllers/step_elements/checklist_items_controller.rb index 465d2a526..67feaabe9 100644 --- a/app/controllers/step_elements/checklist_items_controller.rb +++ b/app/controllers/step_elements/checklist_items_controller.rb @@ -30,7 +30,9 @@ module StepElements end def update - @checklist_item.assign_attributes(checklist_item_params) + @checklist_item.assign_attributes( + checklist_item_params.merge(last_modified_by: current_user) + ) if @checklist_item.save! if @checklist_item.saved_change_to_attribute?(:checked) diff --git a/app/javascript/vue/protocol/step.vue b/app/javascript/vue/protocol/step.vue index 2f4c346bf..766a3990b 100644 --- a/app/javascript/vue/protocol/step.vue +++ b/app/javascript/vue/protocol/step.vue @@ -15,7 +15,7 @@
-