diff --git a/apps/red-ui/src/app/modules/account/translations/notifications-translations.ts b/apps/red-ui/src/app/modules/account/translations/notifications-translations.ts index 852bee8e1..c85d03104 100644 --- a/apps/red-ui/src/app/modules/account/translations/notifications-translations.ts +++ b/apps/red-ui/src/app/modules/account/translations/notifications-translations.ts @@ -1,9 +1,9 @@ import { marker as _ } from '@biesbjerg/ngx-translate-extract-marker'; export const notificationsTranslations: { [key: string]: string } = { - instant: _('notifications-screen.schedule.instant'), - daily: _('notifications-screen.schedule.daily'), - weekly: _('notifications-screen.schedule.weekly'), + daily: _('notifications-screen.schedule.instant'), + daily_summary: _('notifications-screen.schedule.daily'), + weekly_summary: _('notifications-screen.schedule.weekly'), inAppNotifications: _('notifications-screen.category.in-app-notifications'), emailNotifications: _('notifications-screen.category.email-notifications'), documentIsSentForApproval: _('notifications-screen.options.document-is-sent-for-approval'), diff --git a/libs/red-domain/src/lib/notifications-preferences/types.ts b/libs/red-domain/src/lib/notifications-preferences/types.ts index 1b7068c38..31c6061e1 100644 --- a/libs/red-domain/src/lib/notifications-preferences/types.ts +++ b/libs/red-domain/src/lib/notifications-preferences/types.ts @@ -1,7 +1,7 @@ export const EmailNotificationScheduleTypes = { - INSTANT: 'INSTANT', - DAILY: 'DAILY', - WEEKLY: 'WEEKLY', + INSTANT: 'DAILY', + DAILY: 'DAILY_SUMMARY', + WEEKLY: 'WEEKLY_SUMMARY', } as const; export type EmailNotificationScheduleType = keyof typeof EmailNotificationScheduleTypes;