Skip to content

Commit

Permalink
show actual hours input when we should
Browse files Browse the repository at this point in the history
  • Loading branch information
fermion committed Dec 23, 2023
1 parent a2cac02 commit e2cb746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/work_week_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def work_week_form(&block)
end

def render_actual_hours?
@work_week_beginning_of_week <= @beginning_of_week
@work_week_beginning_of_week <= Time.zone.now.at_beginning_of_week.to_i
end

def turbo_frame_id
Expand Down

0 comments on commit e2cb746

Please sign in to comment.