Update admin view to include the new birthdays calendar
Jenkins Production Deployment

This commit is contained in:
2025-09-07 18:39:26 +02:00
parent a2ef25ad34
commit 8b0d1ca228
4 changed files with 14 additions and 0 deletions
+7
View File
@@ -81,6 +81,8 @@ export class AdminComponent implements OnInit {
return 4;
case 'management':
return 3;
case 'birthdays':
return 5;
default:
return -1;
}
@@ -93,6 +95,11 @@ export class AdminComponent implements OnInit {
}
checkEventMeetsFilterCriteria(event: Event): boolean {
// Always return birthdays regardless of date
if(event.calendarId === 5) {
return true;
}
switch (this.eventFilter) {
case '':
return true;