feat(stats): show work and time-off lengths (#66)
This commit is contained in:
1 parent
d9f3f8d34a
commit
3fbf9c3172
12 files changed
+373
-20
No files matched your search
@@ -762,6 +762,10 @@ export class CalendarYear {
|
||||
this.userInput.remainingVacationDaysSignal.set([]);
|
||||
}
|
||||
|
||||
protected formatStatistic(value: number | null): string {
|
||||
return value === null ? '—' : value.toLocaleString(this.translationService.locale());
|
||||
}
|
||||
|
||||
protected openStatistics(): void {
|
||||
if (!this.displayedPlan() || this.statisticsDialog) return;
|
||||
const dialog = this.dialog.open(this.statisticsTemplate(), {
|
||||
|
||||
Reference in new issue
Block a user