mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-10 18:43:09 +03:00
18 lines
478 B
TypeScript
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;
|