Skip to content

feat(EditCalendarModal): add setting for default reminder per calendar#8031

Draft
GVodyanov wants to merge 1 commit intomainfrom
feat/add-default-reminder-per-calendar
Draft

feat(EditCalendarModal): add setting for default reminder per calendar#8031
GVodyanov wants to merge 1 commit intomainfrom
feat/add-default-reminder-per-calendar

Conversation

@GVodyanov
Copy link
Contributor

@GVodyanov GVodyanov commented Mar 2, 2026

Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>
@GVodyanov GVodyanov self-assigned this Mar 2, 2026
@GVodyanov GVodyanov added the 2. developing Work in progress label Mar 2, 2026
this.isTransparent = calendar.transparency === 'transparent'

// Initialize default alarm
if (calendar.defaultAlarm === null || calendar.defaultAlarm === 'none') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the default value in the database is an INT we should not be checking for a 'none'

*/
async saveDefaultAlarm() {
try {
const defaultAlarmValue = this.selectedDefaultAlarm ? this.selectedDefaultAlarm.value : 'none'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set default reminders per calendar

2 participants