Add date to hover on days without time tracked
Some checks failed
Build and Publish Docker Container / build (push) Failing after 2m37s
Some checks failed
Build and Publish Docker Container / build (push) Failing after 2m37s
This commit is contained in:
parent
766c2eba3f
commit
44184095b8
@ -83,7 +83,7 @@ export function CalendarOverviewCard() {
|
||||
tooltipDataAttrs={(value: any) => {
|
||||
return {
|
||||
'data-tooltip-id': `calendar-tooltip`,
|
||||
'data-tooltip-content': value.count ?`${dFns.format(value.date, 'EEE do: ')} ${value.count.toFixed(2)} hours` : `No time logged`
|
||||
'data-tooltip-content': value.count ?`${dFns.format(value.date, 'EEE do: ')} ${value.count.toFixed(2)} hours` : `${dFns.format(value.date, 'EEE do: ')} No time logged`
|
||||
}
|
||||
}}
|
||||
/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user