Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

Fix: notify_organizer_of_new_orders toggle not persisting (#1022)

Dave Earley1b25226207c3
diff --git a/frontend/src/components/routes/event/Settings/Sections/EmailSettings/GeneralEmailSettings.tsx b/frontend/src/components/routes/event/Settings/Sections/EmailSettings/GeneralEmailSettings.tsx
index 293242a0b..f06a04046 100644
--- a/frontend/src/components/routes/event/Settings/Sections/EmailSettings/GeneralEmailSettings.tsx
+++ b/frontend/src/components/routes/event/Settings/Sections/EmailSettings/GeneralEmailSettings.tsx
@@ -30,6 +30,7 @@ export const GeneralEmailSettings = () => {
form.setValues({
support_email: eventSettingsQuery.data.support_email,
email_footer_message: eventSettingsQuery.data.email_footer_message,
+ notify_organizer_of_new_orders: eventSettingsQuery.data.notify_organizer_of_new_orders,
});
}
}, [eventSettingsQuery.isFetched]);
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index 2c14a9d25..073f9f856 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -193,6 +193,7 @@ export interface EventSettings {
product_page_message: string;
post_checkout_message: string;
support_email?: string;
+ notify_organizer_of_new_orders: boolean;
order_timeout_in_minutes?: number;
homepage_background_color: string;
homepage_primary_color: string;