Calendars without events capabilities shouldn't appear in the "Add event" dropdown. Calendars without tasks capabilities shouldn't appear in the "Add task dropdown.
Actual behavior
Calendars without events capabilities appear in the "Add event" dropdown. Calendars without tasks capabilities appear in the "Add task dropdown.
The user can select these calendars and launch the action, which obviously fails.
Steps to reproduce
Expected behavior
Calendars without events capabilities shouldn't appear in the "Add event" dropdown. Calendars without tasks capabilities shouldn't appear in the "Add task dropdown.
Actual behavior
Calendars without events capabilities appear in the "Add event" dropdown. Calendars without tasks capabilities appear in the "Add task dropdown. The user can select these calendars and launch the action, which obviously fails.
Mail app version
3.7.2
Mailserver or service
Mail.com
Operating system
Linux 5.15.0-102-generic x86_64
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database
PostgreSQL
Additional info
No response