File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/main/react/features/month Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export function MonthFeature() {
5555 . map ( it => ( {
5656 ...it ,
5757 missing : Math . max (
58- it . total - ( it . workDays + it . holiDays + it . sickDays + it . event ) ,
58+ it . total - ( it . workDays + it . holiDayUsed + it . sickDays + it . event ) ,
5959 0
6060 ) ,
6161 } ) )
@@ -74,7 +74,12 @@ export function MonthFeature() {
7474 < Tooltip formatter = { value => new Intl . NumberFormat ( ) . format ( value ) } />
7575 < Legend />
7676 < Bar stackId = "days" dataKey = "workDays" name = "worked hours" fill = "#1de8b5" />
77- < Bar stackId = "days" dataKey = "holiDays" name = "holiday hours" fill = "#42a5f5" />
77+ < Bar
78+ stackId = "days"
79+ dataKey = "holiDayUsed"
80+ name = "holiday hours"
81+ fill = "#42a5f5"
82+ />
7883 < Bar stackId = "days" dataKey = "sickDays" name = "sick hours" fill = "#ef5350" />
7984 < Bar stackId = "days" dataKey = "event" name = "event hours" fill = "#fed766" />
8085 < Bar stackId = "days" dataKey = "missing" name = "missing hours" fill = "#9e9e9e" />
You can’t perform that action at this time.
0 commit comments