Skip to content

Commit

Permalink
fix(frontend): holidays marked as regular wordays
Browse files Browse the repository at this point in the history
  • Loading branch information
c0rydoras committed Dec 13, 2024
1 parent ad7d0ef commit fcf5c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/app/components/weekly-overview-day.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
class="weekly-overview-day relative z-10 h-0 w-4 cursor-pointer [&>*]:transition-colors
{{if @active 'active'}}
{{if @absence 'absence'}}
{{if @holiday 'holiday'}}
{{if @holiday 'holiday !bg-red-500'}}
{{unless @workday 'weekend'}}
{{if
@absence
'text-overview-absence hover:text-overview-absence-hf focus:text-overview-absence-hf [&.active]:text-overview-absence-active'
(or
(if
@workday
(and @workday (not @holiday))
'text-overview-workday hover:text-overview-workday-hf focus:text-overview-workday-hf [&.active]:text-overview-workday-active'
)
'text-overview-weekend hover:text-overview-weekend-hf focus:text-overview-weekend-hf [&.active]:text-overview-weekend-active'
Expand Down

0 comments on commit fcf5c71

Please sign in to comment.