frigate/web/src/components/config-form/sections/NotificationsSection.tsx
2026-02-27 09:37:57 -06:00

18 lines
478 B
TypeScript

// Notifications Section Component
// Reusable for both global and camera-level notification settings
import { createConfigSection } from "./BaseSection";
export const NotificationsSection = createConfigSection({
sectionPath: "notifications",
i18nNamespace: "config/notifications",
defaultConfig: {
fieldOrder: ["enabled", "email"],
fieldGroups: {},
hiddenFields: ["enabled_in_config"],
advancedFields: [],
},
});
export default NotificationsSection;