diff options
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/application/_timer.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/application/_timer.html.erb b/app/views/application/_timer.html.erb index 06c4dd7..ca12a77 100644 --- a/app/views/application/_timer.html.erb +++ b/app/views/application/_timer.html.erb @@ -2,7 +2,7 @@ <h2 class="text-lg text-display text-center"><%= current_char.activity.name %></h2> <div data-controller="timer" data-timer-time-remaining-value="<%= current_char.activity_time_remaining %>" - data-timer-activity-duration-value="<%= current_char.activity_duration %>" + data-timer-activity-duration-value="<%= current_char.activity_duration - current_char.rested_duration_to_spend_on_activity %>" data-timer-post-url-value="<%= finish_activity_url %>"> <div class="text-center"> <span data-timer-target="timer" class="text-xl text-display"></span> |