Skip to content

Commit

Permalink
[BUG FIX] [MER-3753] always show reset activiites, even when none exi…
Browse files Browse the repository at this point in the history
…st (#5082)
  • Loading branch information
darrensiegel authored Sep 6, 2024
1 parent 8f8b105 commit 5f054aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oli_web/live/delivery/student/utils.ex
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ defmodule OliWeb.Delivery.Student.Utils do
def reset_attempts_button(assigns) do
~H"""
<button
:if={@activity_count > 0 && @page_context.review_mode == false && not @advanced_delivery}
:if={@page_context.review_mode == false && not @advanced_delivery}
id="reset_answers"
class="btn btn-link btn-sm text-center mb-10"
onClick={"window.OLI.finalize('#{@section_slug}', '#{@page_context.page.slug}', '#{hd(@page_context.resource_attempts).attempt_guid}', false, 'reset_answers')"}
Expand Down

0 comments on commit 5f054aa

Please sign in to comment.