Skip to content

Commit 1b25226

Browse files
authored
Fix: notify_organizer_of_new_orders toggle not persisting (#1022)
1 parent c7a64c8 commit 1b25226

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

frontend/src/components/routes/event/Settings/Sections/EmailSettings/GeneralEmailSettings.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export const GeneralEmailSettings = () => {
3030
form.setValues({
3131
support_email: eventSettingsQuery.data.support_email,
3232
email_footer_message: eventSettingsQuery.data.email_footer_message,
33+
notify_organizer_of_new_orders: eventSettingsQuery.data.notify_organizer_of_new_orders,
3334
});
3435
}
3536
}, [eventSettingsQuery.isFetched]);

frontend/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ export interface EventSettings {
193193
product_page_message: string;
194194
post_checkout_message: string;
195195
support_email?: string;
196+
notify_organizer_of_new_orders: boolean;
196197
order_timeout_in_minutes?: number;
197198
homepage_background_color: string;
198199
homepage_primary_color: string;

0 commit comments

Comments
 (0)