frigate/web/src/components/config-form/sections/NotificationsSection.tsx

18 lines
478 B
TypeScript
Raw Normal View History

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