diff --git a/app/controllers/concerns/course/assessment/submission/monitoring_concern.rb b/app/controllers/concerns/course/assessment/submission/monitoring_concern.rb index 9e63f262b08..7692acbc242 100644 --- a/app/controllers/concerns/course/assessment/submission/monitoring_concern.rb +++ b/app/controllers/concerns/course/assessment/submission/monitoring_concern.rb @@ -14,7 +14,7 @@ def should_monitor? # rubocop:disable Metrics/CyclomaticComplexity current_course_user&.student? && can?(:create, Course::Monitoring::Session.new(creator_id: current_user.id)) && @assessment&.monitor&.enabled? && - !@submission.submitted? + @submission.attempting? end def monitoring_service